local_check_linux | R Documentation |
Run a package check locally, in a Docker container. UNTESTED ON WINDOWS, bug reports welcome. :-)
local_check_linux( path = ".", quiet = FALSE, image = NULL, valgrind = FALSE, check_args = character(), env_vars = character(), timeout = Inf, artifacts = tempfile() )
path |
Path to a directory containing an R package, or path to
source R package tarball built with |
quiet |
Whether to print the check output |
image |
Docker image to use. If |
valgrind |
Whether to run the check with Valgrind. |
check_args |
Extra arguments for the |
env_vars |
Environment variables to set on the builder machine before the check. A named character vector. |
timeout |
Timeout for a check, a |
artifacts |
Where to copy the build artifacts after the build. |
You'll need to have bash and Docker installed.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.