Running ‘testthat.R’ [0m/13m]
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 
   name: DraCor API v1
  version: 1.0.2
  status: stable
  existdb: 6.2.0
  base: https://dracor.org/api/v1[ FAIL 3 | WARN 4 | SKIP 0 | PASS 38 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── 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)
  ── Failure ('test-dracor.R:35:5'): Written year with format 'YYYY/YYYY' is processed as integer in column
    yearWrittenFinish ──
  get_dracor("rus")$yearWrittenFinish inherits from `'NULL'` not `'character'`.
  ── 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 3 | WARN 4 | SKIP 0 | PASS 38 ]
  Error: Test failures
  Execution halted