- using R Under development (unstable) (2025-12-21 r89216)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘radlibs/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘radlibs’ version ‘0.2.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 ‘radlibs’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [5s/8s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/4s] ERROR
Running ‘testthat.R’ [2s/3s]
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
- checking PDF version of manual ... [5s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR