R/init.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname){
  # turn off color printing for dumb terminals
  term <- tolower(trimws(Sys.getenv("TERM")))
  if ( identical( term, "dumb" ) ){
    options(tt.pr.color=FALSE)
  }

}

Try the tinytest package in your browser

Any scripts or data that you put into this service are public.

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