CRAN Package Check Results for Package logger

Last updated on 2024-10-02 15:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 3.29 54.47 57.76 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 2.22 40.41 42.63 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 94.22 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 105.40 ERROR
r-devel-windows-x86_64 0.3.0 6.00 89.00 95.00 ERROR
r-patched-linux-x86_64 0.3.0 4.17 51.49 55.66 ERROR
r-release-linux-x86_64 0.3.0 2.40 51.04 53.44 OK
r-release-macos-arm64 0.3.0 41.00 OK
r-release-macos-x86_64 0.3.0 65.00 OK
r-release-windows-x86_64 0.3.0 4.00 89.00 93.00 NOTE
r-oldrel-macos-arm64 0.3.0 74.00 OK
r-oldrel-macos-x86_64 0.3.0 98.00 OK
r-oldrel-windows-x86_64 0.3.0 5.00 95.00 100.00 NOTE

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/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-01 16:03:10] 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) `<fn>`(...) 16. ├─base::do.call(...) 17. └─logger (local) `<fn>`(...) 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ 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-02 06:18:41] 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) `<fn>`(...) 16. ├─base::do.call(...) 17. └─logger (local) `<fn>`(...) 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/14s] 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-01 07:46:03] 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) `<fn>`(...) 16. ├─base::do.call(...) 17. └─logger (local) `<fn>`(...) 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: 'rsyslog' Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.3.0
Check: tests
Result: 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-01 06:20:07] 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) `<fn>`(...) 16. ├─base::do.call(...) 17. └─logger (local) `<fn>`(...) 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 Flavor: r-devel-windows-x86_64

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/5s] 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-02 00:49:34] 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) `<fn>`(...) 16. ├─base::do.call(...) 17. └─logger (local) `<fn>`(...) 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 Flavor: r-patched-linux-x86_64