Last updated on 2025-12-28 05:50:39 CET.
| Package | ERROR | OK |
|---|---|---|
| radlibs | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
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-windows-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.