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")
uptake/pkgnet documentation built on May 23, 2024, 12:45 p.m.