CRAN Package Check Results for Package radlibs

Last updated on 2025-12-19 14:50:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 3.10 40.21 43.31 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 2.32 27.16 29.48 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 59.71 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 50.49 ERROR
r-devel-windows-x86_64 0.2.0 5.00 57.00 62.00 OK
r-patched-linux-x86_64 0.2.0 3.03 31.03 34.06 OK
r-release-linux-x86_64 0.2.0 2.67 31.14 33.81 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 2.00 34.00 36.00 OK
r-release-windows-x86_64 0.2.0 4.00 56.00 60.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 2.00 32.00 34.00 OK
r-oldrel-windows-x86_64 0.2.0 6.00 63.00 69.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > > library(radlibs) > > testthat::test_check('radlibs') Saving _problems/test_POSTagger-10.R Saving _problems/test_POSTagger-19.R Saving _problems/test_makeRadlibs-9.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_POSTagger.R:10:5'): POSTagger runs end-to-end without error ──── Error in ``[.data.table`(data, , `:=`(n_pos, .N), by = "word")`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_true(...) 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─radlibs::POSTagger(wordDF) at test_POSTagger.R:10:5 5. └─lexicon::grady_pos_feature(lexicon::hash_grady_pos) 6. ├─data[, `:=`(n_pos, .N), by = "word"] 7. └─data.table:::`[.data.table`(data, , `:=`(n_pos, .N), by = "word") ── Error ('test_POSTagger.R:19:5'): POSTagger returns expected output ────────── Error in ``[.data.table`(data, , `:=`(n_pos, .N), by = "word")`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─radlibs::POSTagger(wordDF) at test_POSTagger.R:19:5 2. └─lexicon::grady_pos_feature(lexicon::hash_grady_pos) 3. ├─data[, `:=`(n_pos, .N), by = "word"] 4. └─data.table:::`[.data.table`(data, , `:=`(n_pos, .N), by = "word") ── Error ('test_makeRadlibs.R:9:5'): makeRadlibs runs end-to-end without error ── Error in ``[.data.table`(data, , `:=`(n_pos, .N), by = "word")`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_true(...) 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─radlibs::makeRadlibs("What the {noun} {verb} {adjective}!") at test_makeRadlibs.R:9:5 5. ├─data.table::data.table(POSTagger(wordset)) 6. └─radlibs::POSTagger(wordset) 7. └─lexicon::grady_pos_feature(lexicon::hash_grady_pos) 8. ├─data[, `:=`(n_pos, .N), by = "word"] 9. └─data.table:::`[.data.table`(data, , `:=`(n_pos, .N), by = "word") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc