CRAN Package Check Results for Maintainer ‘Ivan Pozdniakov <bucherr at yandex.ru>’

Last updated on 2025-12-28 03:51:58 CET.

Package ERROR OK
rdracor 1 12

Package rdracor

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.6
Check: tests
Result: ERROR Running 'testthat.R' [146s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api/v1 openapi: https://dracor.org/api/v1/openapi.yaml existdb: 6.4.0 version: 1.1.6 name: DraCor API v1 base: https://dracor.org/api/v1 status: stableSaving _problems/test-tei_to_df-5.R Saving _problems/test-tei_to_df-12.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 39 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tei_to_df.R:2:3'): tei_to_df converts tei object to tibble ───── Error in ``[.data.table`(play_text_df, , `:=`(scene_id, .GRP), by = scene_path)`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-tei_to_df.R:2:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::tei_to_df(get_text_tei(corpus = "rus", play = "gogol-zhenitba")) 5. ├─play_text_df[, `:=`(scene_id, .GRP), by = scene_path] 6. └─data.table:::`[.data.table`(...) ── Error ('test-tei_to_df.R:9:3'): get_text_df returns tibble ────────────────── Error in ``[.data.table`(play_text_df, , `:=`(scene_id, .GRP), by = scene_path)`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-tei_to_df.R:9:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor::get_text_df(corpus = "rus", play = "gogol-zhenitba") 5. │ └─get_text_tei(play = play, corpus = corpus) %>% tei_to_df() 6. └─rdracor::tei_to_df(.) 7. ├─play_text_df[, `:=`(scene_id, .GRP), by = scene_path] 8. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 39 ] 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.