* using log directory 'd:/Rcompile/CRANpkg/local/4.5/idiolect.Rcheck' * using R version 4.5.2 (2025-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'idiolect' can be installed ... OK * checking installed package size ... OK * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [8s] OK * checking Rd files ... [1s] OK * 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] 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 ... [28s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [172s] ERROR Running 'testthat.R' [172s] 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: 15.1 ICU version: 74.1 Parallel computing: 2 of 48 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 ... [171s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR, 1 NOTE