check: Run Automatic Package Checks

Description Usage Arguments Details Examples

Description

Run some quick automatic checks on a package hosted on GitHub, using devtools::check() and goodpractice::gp().

Usage

1
check(pkg, dir = NULL)

Arguments

pkg

a string giving the directory of the github repo in the format "user/repo"

dir

an optional file path giving a directory into which the package source code will be saved. If NULL, a temporary directory will be used.

Details

The results of devtools::check() and goodpractice::gp() will be printed to the console. RStudio markers are suppressed, and some checks are skipped.

To check a package hosted on CRAN, you can use the cran github mirror, e.g.: "cran/devtools".

Examples

1
2
3
4
## Not run: 
auto::check("goldingn/auto")

## End(Not run)

goldingn/auto documentation built on May 24, 2019, 2:04 a.m.