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)

options("tryCatchLog.preferred.logging.package" = "tryCatchLog")
aryoda/tryCatchLog documentation built on Feb. 6, 2023, 1:42 a.m.