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

Last updated on 2025-08-30 05:49:42 CEST.

Package ERROR OK
rdracor 1 10

Package rdracor

Current CRAN status: ERROR: 1, OK: 10

Version: 1.0.5
Check: examples
Result: ERROR Running examples in 'rdracor-Ex.R' failed The error most likely occurred in: > ### Name: get_dracor_meta > ### Title: Retrieve information on available corpora > ### Aliases: get_dracor_meta summary.dracor_meta plot.dracor_meta > > ### ** Examples > > corpora_meta <- get_dracor_meta() Error in dracor_error(resp) : Status code - 504: Internal Dracor server problem Calls: get_dracor_meta ... dracor_meta -> type.convert -> dracor_api -> dracor_error Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.5
Check: tests
Result: ERROR Running 'testthat.R' [14m] 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.1 name: DraCor API v1 base: https://dracor.org/api/v1 status: stable[ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dracor.R:2:3'): Cal corpus is S3 class 'dracor' ──────────────── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_dracor("cal"), "dracor") at test-dracor.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_dracor("cal") 5. └─rdracor:::get_available_corpus_names() 6. └─rdracor::get_dracor_meta() 7. ├─rdracor:::dracor_meta(...) 8. │ └─utils::type.convert(...) 9. └─rdracor::dracor_api(...) 10. └─rdracor:::dracor_error(resp) ── Error ('test-dracor.R:11:3'): several corpora are downloaded via get_dracor() if character vector is provided ── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_dracor(c("tat", "span")), "tbl_df") at test-dracor.R:11:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_dracor(c("tat", "span")) 5. └─rdracor:::get_available_corpus_names() 6. └─rdracor::get_dracor_meta() 7. ├─rdracor:::dracor_meta(...) 8. │ └─utils::type.convert(...) 9. └─rdracor::dracor_api(...) 10. └─rdracor:::dracor_error(resp) ── Error ('test-dracor.R:15:3'): is.dracor() works for 'dracor' object ───────── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor(get_dracor("cal"))) at test-dracor.R:15:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor(get_dracor("cal")) 5. └─rdracor::get_dracor("cal") 6. └─rdracor:::get_available_corpus_names() 7. └─rdracor::get_dracor_meta() 8. ├─rdracor:::dracor_meta(...) 9. │ └─utils::type.convert(...) 10. └─rdracor::dracor_api(...) 11. └─rdracor:::dracor_error(resp) ── Error ('test-dracor.R:25:5'): summary() work for 'dracor' object if there is no info on some years ── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-dracor.R:25:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nchar(capture.output(summary(get_dracor("tat")))) 5. ├─utils::capture.output(summary(get_dracor("tat"))) 6. │ └─base::withVisible(...elt(i)) 7. ├─base::summary(get_dracor("tat")) 8. └─rdracor::get_dracor("tat") 9. └─rdracor:::get_available_corpus_names() 10. └─rdracor::get_dracor_meta() 11. ├─rdracor:::dracor_meta(...) 12. │ └─utils::type.convert(...) 13. └─rdracor::dracor_api(...) 14. └─rdracor:::dracor_error(resp) ── Error ('test-dracor.R:35:5'): Written year with format 'YYYY/YYYY' is processed as integer in column yearWrittenFinish ── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$yearWrittenFinish, "integer") at test-dracor.R:35:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_dracor("rus") 5. └─rdracor:::get_available_corpus_names() 6. └─rdracor::get_dracor_meta() 7. ├─rdracor:::dracor_meta(...) 8. │ └─utils::type.convert(...) 9. └─rdracor::dracor_api(...) 10. └─rdracor:::dracor_error(resp) ── Failure ('test-dracor.R:40:3'): get_character_plays() for Maria Stuart returns at least 2 plays ── nrow(get_character_plays(char_wiki_id = "Q131412")) is not more than 2L. Difference: -1 ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_s3_class(get_dracor_meta(), "dracor_meta") at test-dracor_meta.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_dracor_meta() 5. ├─rdracor:::dracor_meta(...) 6. │ └─utils::type.convert(...) 7. └─rdracor::dracor_api(...) 8. └─rdracor:::dracor_error(resp) ── Error ('test-dracor_meta.R:14:3'): summary for dracor_meta object is visible ── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. └─rdracor::get_dracor_meta() at test-dracor_meta.R:14:3 2. ├─rdracor:::dracor_meta(...) 3. │ └─utils::type.convert(...) 4. └─rdracor::dracor_api(...) 5. └─rdracor:::dracor_error(resp) ── Error ('test-play.R:2:3'): get_play_metadata returns list ─────────────────── Error in `dracor_error(resp)`: Status code - 504: Internal Dracor server problem Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-play.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_play_metadata("pushkin-boris-godunov", "rus") 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 0 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-release-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.