tests/testthat/teardown-logger.R

## Reset logger threshold ##
origLogThreshold <- as.numeric(Sys.getenv("PKGNET_TEST_ORIG_LOG_THRESHOLD"))
futile.logger::flog.threshold(
    threshold = origLogThreshold
    , name = futile.logger::flog.namespace()
)
Sys.unsetenv("PKGNET_TEST_ORIG_LOG_THRESHOLD")

Try the pkgnet package in your browser

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

pkgnet documentation built on Dec. 23, 2021, 9:07 a.m.