- using R Under development (unstable) (2024-04-14 r86421)
- using platform: x86_64-pc-linux-gnu
- 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.textplots/DESCRIPTION’ ... OK
- this is package ‘quanteda.textplots’ version ‘0.94.4’
- 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 serialization versions ... OK
- checking whether package ‘quanteda.textplots’ 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 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 ... [3s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/5s] OK
- checking loading without being on the library search path ... [3s/4s] 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 ... [16s/24s] OK
- checking Rd files ... [0s/1s] 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 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 examples ... [17s/25s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
textplot_network 4.788 0.110 7.384
textplot_xray 3.254 0.086 5.145
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [22s/36s] ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [22s/35s]
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.
> # library("quanteda.textmodels")
> library("quanteda.textplots")
> quanteda_options(reset = TRUE)
>
> # Error on Matrix deprecations
> options(Matrix.warnDeprecatedCoerce = 2)
>
> test_check("quanteda.textplots")
[ FAIL 1 | WARN 1 | SKIP 8 | PASS 66 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• For interactive visual inspection only (2): 'test-textplot_xray.R:99:5',
'test-textplot_xray.R:152:5'
• On CRAN (2): 'test-textplot_wordcloud.R:22:5', 'test-utils.R:4:5'
• On Linux (2): 'test-textplot_network.R:36:5', 'test-textplot_network.R:115:5'
• until quanteda.textstats is updated (2): 'test-textplot_keyness.R:6:5',
'test-textplot_wordcloud.R:10:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-textplot_network.R:96:5'): as.network.fcm works with window ──
network::get.vertex.attribute(net, "frequency") not identical to unname(quanteda.textplots:::get_margin(mat)).
4/6 mismatches (average diff: 1)
[2] 3 - 2 == 1
[3] 2 - 3 == -1
[4] 1 - 2 == -1
[6] 2 - 1 == 1
[ FAIL 1 | WARN 1 | SKIP 8 | PASS 66 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [5s/11s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR