Run a package check locally, in a Docker container. UNTESTED ON WINDOWS, bug reports welcome. :-)
Path to a directory containing an R package, or path to
source R package tarball built with R CMD build
or
devtools::build()
.
Whether to print the check output
Docker image to use. If NULL
, a default image is selected.
Whether to run the check with Valgrind.
Extra arguments for the R CMD check
command.
Environment variables to set on the builder machine before the check. A named character vector.
Timeout for a check, a difftime
object or a scalar
that will be interpreted as seconds.
Where to copy the build artifacts after the build.
An rcmdcheck::rcmdcheck
object, with extra fields:
all_output
: all output from the check, both standard output and
error.
container_name
: name of the Docker container that performed the
build. It is a random name.
artifacts
: directory of build artifacts.
You'll need to have bash and Docker installed.