CRAN Package Check Results for Maintainer ‘Rory Nolan <rorynoolan at gmail.com>’

Last updated on 2024-10-06 05:50:16 CEST.

Package ERROR NOTE OK
autothresholdr 13
detrendr 11 2
exampletestr 9 4
filesstrings 13
ijtiff 4 9
nandb 13
strex 2 11

Package autothresholdr

Current CRAN status: OK: 13

Package detrendr

Current CRAN status: NOTE: 11, OK: 2

Additional issues

Intel

Version: 0.6.15
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Package exampletestr

Current CRAN status: ERROR: 9, OK: 4

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [16s/26s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [11s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [23s/28s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [24s/31s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.7.2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [20s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 6 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [15s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.7.2
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [15s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.7.2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [19s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.7.2
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [23s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(exampletestr) > > get_os <- function() { + sysinf <- Sys.info() + if (!is.null(sysinf)) { + os <- sysinf["sysname"] + if (os == "Darwin") { + os <- "osx" + } + } else { ## mystery machine + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) { + os <- "osx" + } + if (grepl("linux-gnu", R.version$os)) { + os <- "linux" + } + } + if (os == "osx") os <- "mac" + tolower(os) + } > > if (get_os() != "mac" || Sys.getenv("NOT_CRAN") == "true") { + test_check("exampletestr") + } [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-example-extraction.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-functions.R:110:5'): `make_tests_shell_fun()` works ────────── crayon::strip_style(no_man_err_msg) does not match "Your package has no 'man' folder.\n * `exampletestr` looks for examples in the '*.Rd' files in the 'man' folder of a package and cannot function without them.". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. ├─usethis::with_project(...) at test-functions.R:103:3 2. │ └─base::force(code) 3. └─testthat::expect_match(...) at test-functions.R:110:5 4. └─testthat:::expect_match_(...) ── Failure ('test-utils.R:54:3'): `check_for_DESCRIPTION()` works ────────────── crayon::strip_style(no_DESCRIPTION_err_msg) does not match "Your package has no 'DESCRIPTION' file.\n * Every R package must have a 'DESCRIPTION' file in the root directory.\n * Perhaps you specified the wrong `pkg_dir`?\n * You specified `pkg_dir = ". Actual value: "is.environment(.envir) is not TRUE" Backtrace: ▆ 1. └─testthat::expect_match(...) at test-utils.R:54:3 2. └─testthat:::expect_match_(...) [ FAIL 2 | WARN 0 | SKIP 1 | PASS 25 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Package filesstrings

Current CRAN status: OK: 13

Package ijtiff

Current CRAN status: NOTE: 4, OK: 9

Version: 2.3.4
Check: installed package size
Result: NOTE installed size is 7.1Mb sub-directories of 1Mb or more: libs 5.2Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package nandb

Current CRAN status: OK: 13

Package strex

Current CRAN status: ERROR: 2, OK: 11

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

Version: 2.0.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [3s/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-release-linux-x86_64