CRAN Package Check Results for Package strex

Last updated on 2024-10-06 17:49:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 6.93 193.05 199.98 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.1 4.98 211.89 216.87 OK
r-devel-linux-x86_64-fedora-clang 2.0.1 326.86 OK
r-devel-linux-x86_64-fedora-gcc 2.0.1 339.36 OK
r-devel-windows-x86_64 2.0.1 15.00 247.00 262.00 OK
r-patched-linux-x86_64 2.0.1 7.25 190.43 197.68 OK
r-release-linux-x86_64 2.0.1 6.49 189.48 195.97 OK
r-release-macos-arm64 2.0.1 99.00 OK
r-release-macos-x86_64 2.0.1 202.00 OK
r-release-windows-x86_64 2.0.1 17.00 251.00 268.00 OK
r-oldrel-macos-arm64 2.0.1 98.00 OK
r-oldrel-macos-x86_64 2.0.1 192.00 OK
r-oldrel-windows-x86_64 2.0.1 14.00 183.00 197.00 OK

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [4s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(strex) Loading required package: stringr > > test_check("strex") [ FAIL 1 | WARN 0 | SKIP 9 | PASS 208 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (9): 'test-after.R:22:3', 'test-alphord.R:19:3', 'test-arg-match.R:29:3', 'test-currency.R:102:3', 'test-elem.R:5:3', 'test-extract-non-numerics.R:9:3', 'test-extract-nums.R:65:3', 'test-locate.R:31:3', 'test-num-after.R:23:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-trim.R:41:3'): str_trim_anything works ───────────────────────── Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, .close = .close, .na = .na, .null = .null, .comment = .comment, .literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-trim.R:41:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─strex::str_trim_anything(c("a", "b"), c("a", "^a")) 8. ├─rlang::abort(...) 9. │ └─rlang::is_formula(message, scoped = TRUE, lhs = FALSE) 10. └─stringr::str_glue(...) 11. └─glue::glue(..., .sep = .sep, .envir = .envir) 12. └─glue::glue_data(...) 13. └─base::stopifnot(is.environment(.envir)) [ FAIL 1 | WARN 0 | SKIP 9 | PASS 208 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang