- using R Under development (unstable) (2025-12-18 r89199)
- 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 ‘pseudobibeR/DESCRIPTION’ ... OK
- this is package ‘pseudobibeR’ version ‘1.2’
- 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 ‘pseudobibeR’ 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/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/6s] 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 ... [2s/3s] ERROR
Running examples in ‘pseudobibeR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: biber
> ### Title: Extract Biber features from a document parsed and annotated by
> ### spacyr or udpipe
> ### Aliases: biber biber.spacyr_parsed biber.udpipe_connlu
>
> ### ** Examples
>
> # Parse the example documents provided with the package
> biber(udpipe_samples)
Error in `[.data.table`(out, , `:=`(paragraph_id, cumsum(is_newparagraph)), :
attempt access index 5/5 in VECTOR_ELT
Calls: biber ... as.data.frame.udpipe_connlu -> read_connlu -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/5s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(pseudobibeR)
>
> test_check("pseudobibeR")
Saving _problems/test-features-6.R
Saving _problems/test-snapshot-13.R
Saving _problems/test-snapshot-19.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-features.R:6:1'): (code run outside of `test_that()`) ──────────
Error in ``[.data.table`(out, , `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id))`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressMessages(biber(udp, measure = "TTR", normalize = FALSE)) at test-features.R:6:1
2. │ └─base::withCallingHandlers(...)
3. ├─pseudobibeR::biber(udp, measure = "TTR", normalize = FALSE)
4. └─pseudobibeR:::biber.udpipe_connlu(udp, measure = "TTR", normalize = FALSE)
5. ├─base::as.data.frame(tokens, stringsAsFactors = FALSE)
6. └─udpipe:::as.data.frame.udpipe_connlu(tokens, stringsAsFactors = FALSE)
7. └─udpipe:::read_connlu(x, is_udpipe_annotation = TRUE, ...)
8. ├─out[, `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id)]
9. └─data.table:::`[.data.table`(...)
── Error ('test-snapshot.R:12:3'): counts are unchanged ────────────────────────
Error in ``[.data.table`(out, , `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id))`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_snapshot_value(...) at test-snapshot.R:12:3
2. │ ├─testthat:::with_is_snapshotting(force(x))
3. │ └─base::force(x)
4. ├─base::suppressMessages(biber(udp, measure = "TTR", normalize = FALSE))
5. │ └─base::withCallingHandlers(...)
6. ├─pseudobibeR::biber(udp, measure = "TTR", normalize = FALSE)
7. └─pseudobibeR:::biber.udpipe_connlu(udp, measure = "TTR", normalize = FALSE)
8. ├─base::as.data.frame(tokens, stringsAsFactors = FALSE)
9. └─udpipe:::as.data.frame.udpipe_connlu(tokens, stringsAsFactors = FALSE)
10. └─udpipe:::read_connlu(x, is_udpipe_annotation = TRUE, ...)
11. ├─out[, `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id)]
12. └─data.table:::`[.data.table`(...)
── Error ('test-snapshot.R:19:3'): normalized output is unchanged ──────────────
Error in ``[.data.table`(out, , `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id))`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_snapshot_value(...) at test-snapshot.R:19:3
2. │ ├─testthat:::with_is_snapshotting(force(x))
3. │ └─base::force(x)
4. ├─base::suppressMessages(biber(udp, measure = "TTR"))
5. │ └─base::withCallingHandlers(...)
6. ├─pseudobibeR::biber(udp, measure = "TTR")
7. └─pseudobibeR:::biber.udpipe_connlu(udp, measure = "TTR")
8. ├─base::as.data.frame(tokens, stringsAsFactors = FALSE)
9. └─udpipe:::as.data.frame.udpipe_connlu(tokens, stringsAsFactors = FALSE)
10. └─udpipe:::read_connlu(x, is_udpipe_annotation = TRUE, ...)
11. ├─out[, `:=`(paragraph_id, cumsum(is_newparagraph)), by = list(doc_id)]
12. └─data.table:::`[.data.table`(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 2 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs