tests/testthat/init_unit_test.R

# Contains reusable initialisations for unit tests
#
# Usage:
#   source("init_unit_test.R")



# set up test context
options("tryCatchLog.write.error.dump.file"   = FALSE)
options("tryCatchLog.write.error.dump.folder" = ".")
options("tryCatchLog.silent.warnings"         = FALSE)
options("tryCatchLog.silent.messages"         = FALSE)

Try the tryCatchLog package in your browser

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

tryCatchLog documentation built on Oct. 25, 2021, 9:08 a.m.