tinytest (version 1.1.0)

at_home: Detect not on CRANity

Description

Detect whether we are running at home (i.e. not on CRAN, BioConductor, ...)

Usage

at_home()

Arguments

Examples

Run this code
# NOT RUN {
# test will run locally, but not on CRAN
if ( at_home() ){
  expect_equal(2, 1+1)
}
# }

Run the code above in your browser using DataCamp Workspace