- using R version 4.3.3 (2024-02-29)
- using platform: x86_64-pc-linux-gnu (64-bit)
- R was compiled by
gcc-13 (Debian 13.2.0-13) 13.2.0
GNU Fortran (Debian 13.2.0-13) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘quanteda/DESCRIPTION’ ... OK
- this is package ‘quanteda’ version ‘4.0.1’
- package encoding: UTF-8
- 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 ‘quanteda’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the package can be unloaded cleanly ... [3s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/4s] OK
- checking startup messages can be suppressed ... [3s/3s] OK
- checking use of S3 registration ... 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 ... [44s/57s] OK
- checking Rd files ... [2s/2s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [3s/4s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [43s/47s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
data_dictionary_LSD2015 5.082 0.11 5.475
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [124s/138s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [124s/138s]
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: 4.0.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")
b a c e f g
1 1 0 0 0 0
a c b e f g
1 0 1 0 0 0
[ FAIL 1 | WARN 0 | SKIP 26 | PASS 3099 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• Behaviour changed - consider removing test (1): 'test-tokens.R:120:5'
• Different behaviour for convert() v. old as.data.frame.dfm() (1):
'test-as.dfm.R:131:5'
• On CRAN (5): 'test-tokens-word4.R:108:5', 'test-tokens-word4.R:347:5',
'test-tokens.R:373:5', 'test-tokens_ngrams.R:105:5', 'test-tokens_xptr.R:1:1'
• as.numeric(stringi::stri_info()$Unicode.version) > 10 &&
as.numeric(stringi::stri_info()$ICU.version) > (1): 'test-tokens.R:1036:5'
• dplyr cannot be loaded (1): 'test-corpus.R:281:5'
• lda cannot be loaded (1): 'test-convert.R:199:5'
• not implemented yet (1): 'test-corpus.R:217:4'
• purrr cannot be loaded (1): 'test-dfm.R:429:5'
• requires spacyr installation to work (1): 'test-spacyr-methods.R:32:5'
• skipping test of option setting when quanteda is not attached (1):
'test-quanteda_options.R:52:5'
• stm cannot be loaded (3): 'test-convert.R:6:5', 'test-convert.R:34:5',
'test-convert.R:49:5'
• text2vec cannot be loaded (1): 'test-fcm.R:2:5'
• the verbose message has been changed (4): 'test-dfm.R:785:5',
'test-tokens-word1.R:24:5', 'test-tokens-word4.R:607:5',
'test-tokens.R:709:5'
• tidytext cannot be loaded (1): 'test-as.dictionary.R:63:5'
• topicmodels cannot be loaded (1): 'test-convert.R:174:5'
• we no longer expect these to be the same (1): 'test-tokens.R:764:5'
• whether these pass depends on the platform (1): 'test-tokens-custom.R:17:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fcm.R:55:5'): fcm works with dfm and tokens in the same way ──
diag(as.matrix(fcmat_toks_doc)) not equivalent to diag(as.matrix(fcmat_toks_win_ord)).
2/6 mismatches (average diff: 1)
[2] 1 - 0 == 1
[3] 0 - 1 == -1
[ FAIL 1 | WARN 0 | SKIP 26 | PASS 3099 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [12s/16s] OK
- checking PDF version of manual ... [14s/18s] OK
- checking HTML version of manual ... [8s/13s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR