Skip to contents

Check if R CMD CHECK is currently running

Usage

is_r_cmd_check()

Value

A boolean: TRUE if the system environment variable 'R_CHECK_PACKAGE_NAME' is non-empty (which should indicate that 'R CMD CHECK' is currently running), otherwise FALSE.

Examples

if (FALSE) { # \dontrun{
is_r_cmd_check()
} # }