CRAN Package Check Results for Package quanteda

Last updated on 2024-02-26 18:50:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.3.1 262.28 326.69 588.97 NOTE
r-devel-linux-x86_64-debian-gcc 3.3.1 210.64 251.29 461.93 ERROR
r-devel-linux-x86_64-fedora-clang 3.3.1 802.08 ERROR
r-devel-linux-x86_64-fedora-gcc 3.3.1 888.41 ERROR
r-devel-windows-x86_64 3.3.1 218.00 285.00 503.00 NOTE
r-patched-linux-x86_64 3.3.1 276.41 316.89 593.30 OK
r-release-linux-x86_64 3.3.1 254.81 319.14 573.95 OK
r-release-macos-arm64 3.3.1 199.00 NOTE
r-release-macos-x86_64 3.3.1 422.00 NOTE
r-release-windows-x86_64 3.3.1 281.00 361.00 642.00 OK
r-oldrel-macos-arm64 3.3.1 198.00 NOTE
r-oldrel-windows-x86_64 3.3.1 259.00 324.00 583.00 OK

Additional issues

clang-UBSAN Intel

Check Details

Version: 3.3.1
Check: Rd \usage sections
Result: NOTE Documented arguments not in \usage in Rd file 'convert-wrappers.Rd': ‘...’ Documented arguments not in \usage in Rd file 'corpus-class.Rd': ‘if’ Documented arguments not in \usage in Rd file 'dfm-class.Rd': ‘drop_docid’ Documented arguments not in \usage in Rd file 'dictionary-class.Rd': ‘object’ Documented arguments not in \usage in Rd file 'matrix2fcm.Rd': ‘slots’ Documented arguments not in \usage in Rd file 'meta_system.Rd': ‘source’ Documented arguments not in \usage in Rd file 'search_index.Rd': ‘regex’ Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 3.3.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [95s/144s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE) > > library(testthat) > library(quanteda) Package version: 3.3.1 Unicode version: 15.0 ICU version: 72.1 Parallel computing: 3 of 32 threads used. See https://quanteda.io for tutorials and examples. > > # for strong tests for Matrix deprecations > options(Matrix.warnDeprecatedCoerce = 2) > > ops <- quanteda_options() > quanteda_options(reset = TRUE) > test_check("quanteda") [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • Behaviour changed - consider removing test (1): 'test-tokens.R:128:5' • On CRAN (5): 'test-as.dfm.R:158:5', 'test-tokens-word4.R:128:5', 'test-tokens-word4.R:366:5', 'test-tokens.R:376:5', 'test-tokens_ngrams.R:121:5' • as.numeric(stringi::stri_info()$Unicode.version) > 10 && as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1047:5' • not implemented yet (1): 'test-corpus.R:197:4' • requires spacyr installation to work (1): 'test-spacyr-methods.R:40:5' • skipping test of option setting when quanteda is not attached (1): 'test-quanteda_options.R:52:5' • we no longer expect these to be the same (1): 'test-tokens.R:773:5' • whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dfm.R:539:5'): dfm with selection options produces correct output ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:539:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(dfm(dfmt, remove = feat, verbose = TRUE)) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(dfmt, remove = feat, verbose = TRUE) 9. ├─quanteda:::dfm.dfm(dfmt, remove = feat, verbose = TRUE) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:591:5'): dfm verbose option prints correctly ───────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(dfm(mydfm, verbose = TRUE), "Creating a dfm from a dfm input") at test-dfm.R:591:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::dfm(mydfm, verbose = TRUE) 7. ├─quanteda:::dfm.dfm(mydfm, verbose = TRUE) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:1018:5'): dfm verbose = TRUE works as expected ─────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:1018:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(...) 9. ├─quanteda:::dfm.dfm(...) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:563:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:563:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:589:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:589:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:604:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:604:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:624:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:624:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:639:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:639:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:669:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:669:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:684:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:684:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:704:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:704:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:719:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:719:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:741:5'): tokens.tokens(x, remove_url = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:741:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.3.1
Check: data for non-ASCII characters
Result: NOTE Note: found 4 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 3.3.1
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [143s/170s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE) > > library(testthat) > library(quanteda) Package version: 3.3.1 Unicode version: 13.0 ICU version: 69.1 Parallel computing: 2 of 24 threads used. See https://quanteda.io for tutorials and examples. > > # for strong tests for Matrix deprecations > options(Matrix.warnDeprecatedCoerce = 2) > > ops <- quanteda_options() > quanteda_options(reset = TRUE) > test_check("quanteda") OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • Behaviour changed - consider removing test (1): 'test-tokens.R:128:5' • On CRAN (5): 'test-as.dfm.R:158:5', 'test-tokens-word4.R:128:5', 'test-tokens-word4.R:366:5', 'test-tokens.R:376:5', 'test-tokens_ngrams.R:121:5' • as.numeric(stringi::stri_info()$Unicode.version) > 10 && as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1047:5' • not implemented yet (1): 'test-corpus.R:197:4' • requires spacyr installation to work (1): 'test-spacyr-methods.R:40:5' • skipping test of option setting when quanteda is not attached (1): 'test-quanteda_options.R:52:5' • we no longer expect these to be the same (1): 'test-tokens.R:773:5' • whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dfm.R:539:5'): dfm with selection options produces correct output ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:539:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(dfm(dfmt, remove = feat, verbose = TRUE)) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(dfmt, remove = feat, verbose = TRUE) 9. ├─quanteda:::dfm.dfm(dfmt, remove = feat, verbose = TRUE) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:591:5'): dfm verbose option prints correctly ───────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(dfm(mydfm, verbose = TRUE), "Creating a dfm from a dfm input") at test-dfm.R:591:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::dfm(mydfm, verbose = TRUE) 7. ├─quanteda:::dfm.dfm(mydfm, verbose = TRUE) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:1018:5'): dfm verbose = TRUE works as expected ─────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:1018:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(...) 9. ├─quanteda:::dfm.dfm(...) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:563:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:563:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:589:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:589:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:604:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:604:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:624:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:624:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:639:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:639:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:669:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:669:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:684:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:684:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:704:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:704:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:719:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:719:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:741:5'): tokens.tokens(x, remove_url = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:741:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.3.1
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [153s/193s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE) > > library(testthat) > library(quanteda) Package version: 3.3.1 Unicode version: 13.0 ICU version: 69.1 Parallel computing: 2 of 24 threads used. See https://quanteda.io for tutorials and examples. > > # for strong tests for Matrix deprecations > options(Matrix.warnDeprecatedCoerce = 2) > > ops <- quanteda_options() > quanteda_options(reset = TRUE) > test_check("quanteda") [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • Behaviour changed - consider removing test (1): 'test-tokens.R:128:5' • On CRAN (5): 'test-as.dfm.R:158:5', 'test-tokens-word4.R:128:5', 'test-tokens-word4.R:366:5', 'test-tokens.R:376:5', 'test-tokens_ngrams.R:121:5' • as.numeric(stringi::stri_info()$Unicode.version) > 10 && as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1047:5' • not implemented yet (1): 'test-corpus.R:197:4' • requires spacyr installation to work (1): 'test-spacyr-methods.R:40:5' • skipping test of option setting when quanteda is not attached (1): 'test-quanteda_options.R:52:5' • we no longer expect these to be the same (1): 'test-tokens.R:773:5' • whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dfm.R:539:5'): dfm with selection options produces correct output ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:539:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(dfm(dfmt, remove = feat, verbose = TRUE)) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(dfmt, remove = feat, verbose = TRUE) 9. ├─quanteda:::dfm.dfm(dfmt, remove = feat, verbose = TRUE) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:591:5'): dfm verbose option prints correctly ───────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(dfm(mydfm, verbose = TRUE), "Creating a dfm from a dfm input") at test-dfm.R:591:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::dfm(mydfm, verbose = TRUE) 7. ├─quanteda:::dfm.dfm(mydfm, verbose = TRUE) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-dfm.R:1018:5'): dfm verbose = TRUE works as expected ─────────── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-dfm.R:1018:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─quanteda::dfm(...) 9. ├─quanteda:::dfm.dfm(...) 10. │ ├─quanteda:::catm(...) 11. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 12. │ │ └─base::paste(..., sep = sep) 13. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 14. ├─base::stop("getting UseMethod variable 'global' from generic 'dfm'; this is no longer supported") 15. └─base::.handleSimpleError(...) 16. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:563:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:563:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:589:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:589:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:604:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:604:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:624:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:624:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens-word4.R:639:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens-word4.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:639:5'): tokens.tokens(x, split_hyphens = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:639:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:669:5'): tokens.tokens(x, remove_numbers = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:669:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:684:5'): tokens.tokens(x, remove_punct = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:684:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:704:5'): tokens.tokens(x, remove_symbols = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:704:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:719:5'): tokens.tokens(x, remove_separators = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:719:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) ── Error ('test-tokens.R:741:5'): tokens.tokens(x, remove_url = TRUE, verbose = TRUE) works as expected (#1683) ── Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'format': getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-tokens.R:741:5 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─quanteda::tokens(...) 7. ├─quanteda:::tokens.tokens(...) 8. │ ├─quanteda:::catm(...) 9. │ │ ├─base::message(paste(..., sep = sep), appendLF = appendLF) 10. │ │ └─base::paste(..., sep = sep) 11. │ └─base::format((proc.time() - global$proc_time)[3], digits = 3) 12. ├─base::stop("getting UseMethod variable 'global' from generic 'tokens'; this is no longer supported") 13. └─base::.handleSimpleError(...) 14. └─base (local) h(simpleError(msg, call)) [ FAIL 14 | WARN 0 | SKIP 12 | PASS 3128 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

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