Generate report on package compliance with rOpenSci Statistical Software
Description
Generate report on package compliance with rOpenSci Statistical Software requirements
Usage
pkgcheck(
path = ".",
goodpractice = TRUE,
use_cache = TRUE,
extra_env = .GlobalEnv
)
Arguments
path: Path to local repositorygoodpractice: IfFALSE, skip most goodpractice checks exceptlintrand ‘DESCRIPTION’ checks. May be useful in development stages to more quickly check other aspects.use_cache: Checks are cached for rapid retrieval, and only re-run if the git hash of the local repository changes. Settinguse_cachetoFALSEwill force checks to be re-run even if the git hash has not changed.extra_env: Additional environments from which to collate checks. Other package names may be appended usingc, as inc(.GlobalEnv, "mypkg").
Seealso
Other pkgcheck_fns:
[pkgcheck_bg](pkgcheck_bg)(),
[print.pkgcheck](print.pkgcheck)()
Concept
pkgcheck_fns
Value
A pkgcheck object detailing all package assessments automatically
applied to packages submitted for peer review.
Examples
checks <- pkgcheck ("/path/to/my/package") # default full check
summary (checks)
# Or to run only checks implemented in 'pkgcheck' and not the
# additional \pkg{goodpractice} checks:
checks <- pkgcheck ("/path/to/my/package", goodpractice = FALSE)
summary (checks)