- using R Under development (unstable) (2025-11-13 r89015)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘idiolect/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘idiolect’ version ‘1.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 ‘idiolect’ can be installed ... [16s/36s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘calibrate_LLR.R’ ‘concordance.R’ ‘contentmask.R’ ‘create_corpus.R’
‘delta.R’ ‘density_plot.R’ ‘impostors.R’ ‘lambdaG.R’ ‘lambdaG.Rd’
‘lambdaG_visualize.R’ ‘lambdaG_visualize.Rd’ ‘most_similar.Rd’
‘ngram_tracing.R’ ‘performance.R’ ‘posterior.R’ ‘tokenize_sents.R’
‘utils.R’ ‘vectorize.R’
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... [4s/13s] OK
- checking whether the package can be unloaded cleanly ... [4s/11s] OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... [4s/12s] 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 ... [24s/56s] OK
- checking Rd files ... 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 ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [45s/112s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5m/14m] ERROR
Running ‘testthat.R’ [5m/14m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(idiolect)
Loading required package: quanteda
Package version: 4.3.1
Unicode version: 16.0
ICU version: 76.1
Parallel computing: 2 of 24 threads used.
See https://quanteda.io for tutorials and examples.
>
> test_check("idiolect")
Saving _problems/test-impostors-35.R
Saving _problems/test-impostors-84.R
Saving _problems/test-impostors-123.R
|
| | 0%
|
|= | 1%
|
|= | 2%
|
|== | 3%
|
|=== | 4%
|
|==== | 5%
|
|==== | 6%
|
|===== | 7%
|
|====== | 8%
|
|======= | 9%
|
|======= | 11%
|
|======== | 12%
|
|========= | 13%
|
|========== | 14%
|
|========== | 15%
|
|=========== | 16%
|
|============ | 17%
|
|============= | 18%
|
|============= | 19%
|
|============== | 20%
|
|=============== | 21%
|
|=============== | 22%
|
|================ | 23%
|
|================= | 24%
|
|================== | 25%
|
|================== | 26%
|
|=================== | 27%
|
|==================== | 28%
|
|===================== | 29%
|
|===================== | 31%
|
|====================== | 32%
|
|======================= | 33%
|
|======================== | 34%
|
|======================== | 35%
|
|========================= | 36%
|
|========================== | 37%
|
|=========================== | 38%
|
|=========================== | 39%
|
|============================ | 40%
|
|============================= | 41%
|
|============================= | 42%
|
|============================== | 43%
|
|=============================== | 44%
|
|================================ | 45%
|
|================================ | 46%
|
|================================= | 47%
|
|================================== | 48%
|
|=================================== | 49%
|
|=================================== | 51%
|
|==================================== | 52%
|
|===================================== | 53%
|
|====================================== | 54%
|
|====================================== | 55%
|
|======================================= | 56%
|
|======================================== | 57%
|
|========================================= | 58%
|
|========================================= | 59%
|
|========================================== | 60%
|
|=========================================== | 61%
|
|=========================================== | 62%
|
|============================================ | 63%
|
|============================================= | 64%
|
|============================================== | 65%
|
|============================================== | 66%
|
|=============================================== | 67%
|
|================================================ | 68%
|
|================================================= | 69%
|
|================================================= | 71%
|
|================================================== | 72%
|
|=================================================== | 73%
|
|==================================================== | 74%
|
|==================================================== | 75%
|
|===================================================== | 76%
|
|====================================================== | 77%
|
|======================================================= | 78%
|
|======================================================= | 79%
|
|======================================================== | 80%
|
|========================================================= | 81%
|
|========================================================= | 82%
|
|========================================================== | 83%
|
|=========================================================== | 84%
|
|============================================================ | 85%
|
|============================================================ | 86%
|
|============================================================= | 87%
|
|============================================================== | 88%
|
|=============================================================== | 89%
|
|=============================================================== | 91%
|
|================================================================ | 92%
|
|================================================================= | 93%
|
|================================================================== | 94%
|
|================================================================== | 95%
|
|=================================================================== | 96%
|
|==================================================================== | 97%
|
|===================================================================== | 98%
|
|===================================================================== | 99%
|
|======================================================================| 100%
Setting levels: control = FALSE, case = TRUE
Setting direction: controls < cases
Setting levels: control = FALSE, case = TRUE
Setting direction: controls < cases
[ FAIL 3 | WARN 1 | SKIP 11 | PASS 14 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (9): 'test-calibrate_LLR.R:1:1', 'test-chunk_texts.R:1:1',
'test-concordance.R:1:1', 'test-create_corpus.R:1:1', 'test-delta.R:1:1',
'test-lambdaG_visualize.R:1:1', 'test-most_similar.R:1:1',
'test-ngram_tracing.R:1:1', 'test-vectorize.R:1:1'
• spacyr environment not present (2): 'test-contentmask.R:4:3',
'test-tokenize_sents.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-impostors.R:35:3'): RBI works ──────────────────────────────────
Error in `testthat::expect(results.corpus[1, 4], 0.54)`: `ok` must be `TRUE` or `FALSE`, not the number 0.54.
Backtrace:
▆
1. └─testthat::expect(ok = results.corpus[1, 4]) at test-impostors.R:35:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
── Error ('test-impostors.R:84:3'): KGI works ──────────────────────────────────
Error in `testthat::expect(results.corpus[1, 4], 0.75)`: `ok` must be `TRUE` or `FALSE`, not the number 0.75.
Backtrace:
▆
1. └─testthat::expect(ok = results.corpus[1, 4]) at test-impostors.R:84:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
── Error ('test-impostors.R:123:3'): IM works ──────────────────────────────────
Error in `testthat::expect(results.corpus[4, 4], 0.57)`: `ok` must be `TRUE` or `FALSE`, not the number 0.57.
Backtrace:
▆
1. └─testthat::expect(ok = results.corpus[4, 4]) at test-impostors.R:123:3
2. └─testthat:::check_bool(ok)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 3 | WARN 1 | SKIP 11 | PASS 14 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6m/16m] OK
- checking PDF version of manual ... [7s/19s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE