• using R version 4.4.0 alpha (2024-03-31 r86238)
  • using platform: aarch64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 12.2.0
  • running under: macOS Ventura 13.4
  • using session charset: UTF-8
  • checking for file ‘gofastr/DESCRIPTION’ ... OK
  • this is package ‘gofastr’ version ‘0.3.0’
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘gofastr’ can be installed ... [2s/2s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking code files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... [0s/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] OK
  • checking dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... [1s/1s] OK
  • checking Rd files ... [0s/0s] NOTE checkRd: (-1) filter_tf_idf.Rd:43: Lost braces     43 | Bettina Gr\"{u}n, Kurt Hornik, and Tyler Rinker <tyler.rinker@gmail.com>.        | ^
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking contents of ‘data’ directory ... OK
  • checking data for non-ASCII characters ... [0s/0s] OK
  • checking LazyData ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking examples ... [1s/1s] ERROR Running examples in ‘gofastr-Ex.R’ failed The error most likely occurred in: > ### Name: as_dtm > ### Title: Coerce Various Object Into a > ### 'DocumentTermMatrix'/'TermDocumentMatrix' > ### Aliases: as_dtm as_tdm > ### Keywords: documenttermmatrix, termdocumentmatrix > > ### ** Examples > > with(partial_republican_debates_2015, + as_dtm(dialogue, paste(location, element_id, sentence_id, sep = "_")) + ) Error: ! The `stem` argument of `dfm()` was deprecated in quanteda 3.0 and is   now defunct. ℹ Please use `dfm_stem()` instead. Backtrace:      ▆   1. ├─base::with(...)   2. └─base::with.default(...)   3. └─base::eval(substitute(expr), data, enclos = parent.frame())   4. └─base::eval(substitute(expr), data, enclos = parent.frame())   5. ├─gofastr::as_dtm(...)   6. └─gofastr:::as_dtm.character(...)   7. ├─tm::weightTfIdf(q_dtm(x, ...))   8. └─gofastr::q_dtm(x, ...)   9. ├─quanteda::convert(...)  10. └─quanteda::dfm(...)  11. └─quanteda:::check_defunct_dfm_args(names(as.list(sys.call())[-1]))  12. └─lifecycle::deprecate_stop(...)  13. └─lifecycle:::deprecate_stop0(msg)  14. └─rlang::cnd_signal(...) Execution halted
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [1s/1s] OK   Running ‘testthat.R’ [1s/1s]
  • checking PDF version of manual ... [4s/4s] OK
  • DONE Status: 1 ERROR, 1 NOTE
  • using check arguments '--no-clean-on-error '