Skip to contents

Run all tests

Usage

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

Arguments

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::runTests()
}