at_home: Detect not on CRANity

View source: R/tinytest.R

at_homeR Documentation

Detect not on CRANity

Description

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

Usage

at_home()

Examples

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

tinytest documentation built on March 7, 2023, 7:43 p.m.