* using log directory 'd:/Rcompile/CRANpkg/local/4.4/rdracor.Rcheck' * using R version 4.4.1 (2024-06-14 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rdracor/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rdracor' version '1.0.3' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rdracor' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [2s] 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] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [64s] 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/v1 name: DraCor API v1 version: 1.0.2 status: stable existdb: 6.2.0 base: https://dracor.org/api/v1[ FAIL 3 | WARN 1 | SKIP 0 | PASS 38 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-net.R:30:3'): label_cooccur_igraph() return come NA for big network ── Error in `dracor_error(resp)`: Status code - 404: Wrong Dracor API request - data were not found Backtrace: ▆ 1. └─rdracor::get_net_cooccur_igraph("henry-iv-part-i", "shake") at test-net.R:30:3 2. └─rdracor::get_play_characters(play = play, corpus = corpus, as_tibble = FALSE) 3. └─rdracor::dracor_api(...) 4. └─rdracor:::dracor_error(resp) ── Error ('test-net.R:37:5'): label_cooccur_igraph() do not return NA after max_graph_size adjustment ── Error in `dracor_error(resp)`: Status code - 404: Wrong Dracor API request - data were not found Backtrace: ▆ 1. └─rdracor::get_net_cooccur_igraph("henry-iv-part-i", "shake") at test-net.R:37:5 2. └─rdracor::get_play_characters(play = play, corpus = corpus, as_tibble = FALSE) 3. └─rdracor::dracor_api(...) 4. └─rdracor:::dracor_error(resp) ── Error ('test-net.R:43:3'): summary.cooccur_igraph() prints appropriate number of rows ── Error in `dracor_error(resp)`: Status code - 404: Wrong Dracor API request - data were not found Backtrace: ▆ 1. └─rdracor::get_net_cooccur_igraph("henry-iv-part-i", "shake") at test-net.R:43:3 2. └─rdracor::get_play_characters(play = play, corpus = corpus, as_tibble = FALSE) 3. └─rdracor::dracor_api(...) 4. └─rdracor:::dracor_error(resp) [ FAIL 3 | WARN 1 | SKIP 0 | PASS 38 ] Error: Test failures Execution halted * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR