CRAN Package Check Results for Package logger

Last updated on 2024-10-14 12:50:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.98 53.41 56.39 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 2.34 40.91 43.25 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 91.56 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 63.75 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.14 50.03 54.17 ERROR
r-release-linux-x86_64 0.3.0 2.78 50.61 53.39 ERROR
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 6.00 89.00 95.00 ERROR
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 8.00 97.00 105.00 ERROR

Check Details

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-11 00:52:51] 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-clang

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-12 16:02:45] 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-13 13:22:21] 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’ 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-12 07:31:47] 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-13 10:03:44] 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/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-12 00:45:46] 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

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/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-13 00:32:24] 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-release-linux-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-12 12:48: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-release-windows-x86_64

Version: 0.3.0
Check: tests
Result: ERROR Running 'testthat.R' [4s] 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-13 12:00:11] 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-oldrel-windows-x86_64