get package metadata from package source code.
pkgreview_getdata(pkg_dir = NULL, pkg_repo, template = c("review", "editor"), issue_no = NULL)
pkg_dir | path to package source directory, cloned from github. Defaults to the package source code directory in the review parent. |
---|---|
pkg_repo | character string of the repo owner and name in the form of
|
template | character string, one of |
issue_no | integer. Issue number of the pkg review in the rOpenSci software-review repository.
If |
a list of package metadata
# NOT RUN { # run from within a pkgreviewr project with the package source code in a sibling directory pkgreview_getdata("../rdflib") # }