CRAN Package Check Results for Package teal.logger

Last updated on 2024-10-25 09:49:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 3.48 41.25 44.73 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 2.56 30.70 33.26 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 77.72 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 85.21 OK
r-devel-windows-x86_64 0.3.0 5.00 67.00 72.00 OK
r-patched-linux-x86_64 0.2.0 3.04 36.81 39.85 ERROR
r-release-linux-x86_64 0.2.0 3.39 36.80 40.19 ERROR
r-release-macos-arm64 0.3.0 31.00 OK
r-release-macos-x86_64 0.3.0 52.00 OK
r-release-windows-x86_64 0.2.0 6.00 59.00 65.00 OK
r-oldrel-macos-arm64 0.3.0 36.00 OK
r-oldrel-macos-x86_64 0.3.0 52.00 OK
r-oldrel-windows-x86_64 0.3.0 6.00 64.00 70.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘teal.logger-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: suppress_logs > ### Title: Suppress logger logs > ### Aliases: suppress_logs > > ### ** Examples > > testthat::test_that("An example test", { + suppress_logs() + testthat::expect_true(TRUE) + }) ── Error: An example test ────────────────────────────────────────────────────── Error in `(function (appender = NULL, namespace = "global", index = 1) { if (!is.null(appender) && !is.function(appender)) { stop("`appender` must be a function") } log_config_setter("appender", appender, namespace = namespace, index = index) })(dots[[1L]][[1L]], dots[[2L]][[1L]])`: `appender` must be a function Backtrace: ▆ 1. ├─withr (local) `<fn>`() 2. └─base::mapply(logger::log_appender, old_log_appenders, old_log_namespaces) 3. └─logger (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) Error: ! Test failed Backtrace: ▆ 1. ├─testthat::test_that(...) 2. │ └─withr (local) `<fn>`() 3. └─reporter$stop_if_needed() 4. └─rlang::abort("Test failed", call = NULL) Execution halted Flavors: r-patched-linux-x86_64, r-release-linux-x86_64