CRAN Package Check Results for Package rdracor

Last updated on 2024-02-08 07:53:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.6 5.15 93.97 99.12 ERROR
r-devel-linux-x86_64-debian-gcc 0.7.6 6.08 71.78 77.86 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.6 130.45 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.6 130.73 ERROR
r-devel-windows-x86_64 0.7.6 7.00 115.00 122.00 ERROR
r-patched-linux-x86_64 0.7.6 6.34 94.02 100.36 ERROR
r-release-linux-x86_64 0.7.6 4.59 91.59 96.18 ERROR
r-release-macos-arm64 0.7.6 144.00 OK
r-release-macos-x86_64 0.7.6 181.00 OK
r-release-windows-x86_64 0.7.6 10.00 132.00 142.00 ERROR
r-oldrel-macos-arm64 0.7.6 146.00 OK
r-oldrel-windows-x86_64 0.7.6 9.00 139.00 148.00 ERROR

Check Details

Version: 0.7.6
Check: examples
Result: ERROR Running examples in ‘rdracor-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 - 400: Wrong Dracor API request - invalid request Calls: get_dracor_meta ... dracor_meta -> type.convert -> dracor_api -> dracor_error Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [36s/72s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/72s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.6
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 - 400: Wrong Dracor API request - invalid request Calls: get_dracor_meta ... dracor_meta -> type.convert -> dracor_api -> dracor_error Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [45s/88s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [48s/155s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.7.6
Check: tests
Result: ERROR Running 'testthat.R' [49s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/69s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running ‘testthat.R’ [35s/68s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running 'testthat.R' [59s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.7.6
Check: tests
Result: ERROR Running 'testthat.R' [63s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rdracor) > > test_check("rdracor") DraCor API URL: https://dracor.org/api name: DraCor API v0 version: 0.91.3 status: beta existdb: 6.2.0 base: https://dracor.org/api/v0[ FAIL 9 | WARN 3 | 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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 - 400: Wrong Dracor API request - invalid request 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:34:5'): writtenYear with format 'YYYY/YYYY' is processed as integer in column writtenYearFinish ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_is(get_dracor("rus")$writtenYearFinish, "integer") at test-dracor.R:34: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) ── Error ('test-dracor_meta.R:2:3'): get_dracor_meta() returns dracor_meta object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request 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:6:3'): is.dracor_meta() works for 'dracor_meta' object ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_true(is.dracor_meta(get_dracor_meta())) at test-dracor_meta.R:6:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rdracor:::is.dracor_meta(get_dracor_meta()) 5. └─rdracor::get_dracor_meta() 6. ├─rdracor:::dracor_meta(...) 7. │ └─utils::type.convert(...) 8. └─rdracor::dracor_api(...) 9. └─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 - 400: Wrong Dracor API request - invalid request 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-text.R:17:5'): get_text_chr_spoken() for Boris Godunov, UNKNOWN gender returns more than one value ── Error in `dracor_error(resp)`: Status code - 400: Wrong Dracor API request - invalid request Backtrace: ▆ 1. ├─testthat::expect_gt(...) at test-text.R:17:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rdracor::get_text_chr_spoken(...) 5. └─rdracor::dracor_api(...) 6. └─rdracor:::dracor_error(resp) [ FAIL 9 | WARN 3 | SKIP 0 | PASS 32 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64