CRAN Package Check Results for Package idiolect

Last updated on 2025-11-19 13:50:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 9.92 506.27 516.19 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 5.44 336.83 342.27 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 42.00 810.05 852.05 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 36.00 824.29 860.29 ERROR
r-devel-windows-x86_64 1.0.1 14.00 549.00 563.00 NOTE
r-patched-linux-x86_64 1.0.1 9.21 583.00 592.21 NOTE
r-release-linux-x86_64 1.0.1 9.78 487.92 497.70 ERROR
r-release-macos-arm64 1.0.1 NOTE
r-release-macos-x86_64 1.0.1 8.00 513.00 521.00 NOTE
r-release-windows-x86_64 1.0.1 10.00 536.00 546.00 NOTE
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 13.00 350.00 363.00 OK
r-oldrel-windows-x86_64 1.0.1 15.00 724.00 739.00 OK

Check Details

Version: 1.0.1
Check: DESCRIPTION meta-information
Result: 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’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [188s/228s] 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: 3 of 32 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [126s/160s] 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: 3 of 64 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5m/12m] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [183s/234s] 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: 3 of 32 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 Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: DESCRIPTION meta-information
Result: 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_visualize.R’ ‘ngram_tracing.R’ ‘performance.R’ ‘posterior.R’ ‘tokenize_sents.R’ ‘utils.R’ ‘vectorize.R’ Flavor: r-release-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.