Skip to contents

Run checks on the package

Usage

checkPackage(
  checkLicense = "TRUE",
  useCiOptions = 1,
  repo = "https://cloud.r-project.org",
  errorExpected = 0
)

Arguments

checkLicense

1 to check the license, other values to not check the license

useCiOptions

1 (default) to use CI options as defined in optionsForCi.R, other values to not use them

repo

The repository used to download packages

errorExpected

0 (default) to expect this function run fine, other values to expect an error (useful for tests)

Examples

if (FALSE) {
    citoolsr::checkPackage()
}