package-dev: Package development utilities

chkR Documentation

Package development utilities

Description

chk() is a thin wrapper of devtools::check().

Usage

chk(path = ".", install = FALSE, vignettes = FALSE, args = "--timings", ...)

Arguments

path

Path to a package tarball or a directory.

install

If FALSE, add --no-install to args

vignettes

If FALSE, add --ignore-vignettes to args

args

Character vector of arguments to pass to ⁠R CMD check⁠. Pass each argument as a single element of this character vector (do not use spaces to delimit arguments like you would in the shell). For example, to skip running of examples and tests, use args = c("--no-examples", "--no-tests") and not args = "--no-examples --no-tests". (Note that instead of the --output option you should use the check_dir argument, because --output cannot deal with spaces and other special characters on Windows.)

...

Passed to rcmdcheck::rcmdcheck().


heavywatal/rwtl documentation built on June 13, 2025, 7:39 a.m.