* using log directory 'd:/Rcompile/CRANpkg/local/4.5/logger.Rcheck' * using R Under development (unstable) (2024-10-15 r87238 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'logger/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'logger' version '0.3.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'rsyslog' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'logger' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [4s] ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(logger) > > if (identical(Sys.getenv("NOT_CRAN"), "true")) { + test_check('logger') + } else { + test_check('logger', filter = '^[a-z]*$') + } WARN [2024-10-16 13:16:20] Running "sum(1:10)" as "FunDoesNotExist(1:10)" failed: "could not find function \"FunDoesNotExist\"" [ FAIL 1 | WARN 0 | SKIP 0 | PASS 228 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-logger.R:153:5'): providing log_level() args to wrappers diretly is OK ── Error in `value[[3L]](cond)`: `glue` failed in `formatter_glue` on: chr "{Sepal.Length}" Raw error message: is.environment(.envir) is not TRUE Please consider using another `log_formatter` or `skip_formatter` on strings with curly braces. Backtrace: ▆ 1. ├─testthat::expect_silent(log_info("{Sepal.Length}", .topenv = iris)) at test-logger.R:153:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─logger::log_info("{Sepal.Length}", .topenv = iris) 10. └─logger::log_level(...) 11. └─base::lapply(...) 12. └─logger (local) FUN(X[[i]], ...) 13. ├─base::structure(do.call(log_fun, log_arg), class = "logger") 14. ├─base::do.call(log_fun, log_arg) 15. └─logger (local) ``(...) 16. ├─base::do.call(...) 17. └─logger (local) ``(...) 18. └─base::tryCatch(...) 19. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 20. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 21. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 228 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [19s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [14s] OK * DONE Status: 1 ERROR, 1 NOTE