get package metadata from package source code.
Usage
pkgreview_getdata(
pkg_repo,
pkg_dir = NULL,
template = c("review", "editor"),
issue_no = NULL
)Arguments
- pkg_repo
character string of the repo owner and name in the form of
"owner/repo".- pkg_dir
path to package source directory, cloned from github. Defaults to the package source code directory in the review parent.
- template
character string, one of
revieworeditor.- issue_no
integer. Issue number of the pkg review in the rOpenSci
software-reviewrepository. # nolint: line_length_linter IfNULL(default), the issue number is extracted from the rOpenSci Under Review badge on the pkg repository README. Supplying an integer toissue_nooverrides this behaviour and can be useful if a badge has not been added to the README yet.
