document (version 2.2.1)

check_package: Run R CMD check on a Package Directory

Description

Run R CMD check on a Package Directory

Usage

check_package(package_directory, working_directory, check_as_cran = TRUE,
  stop_on_check_not_passing = TRUE, debug = TRUE)

Arguments

package_directory

The directory containing the package's source.

working_directory

A working directory. Keep the default.

check_as_cran

Use the --as-cran flag with R CMD check?

stop_on_check_not_passing

Stop if R CMD check does not pass?

debug

For internal use only: Summarize errors for travis?

Value

The return value of R CMD check ran through callr::rcmd_safe().