* using log directory 'd:/Rcompile/CRANpkg/local/4.6/archiveRetriever.Rcheck' * using R Under development (unstable) (2025-07-21 r88439 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'archiveRetriever/DESCRIPTION' ... OK * this is package 'archiveRetriever' version '0.4.0' * 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 'archiveRetriever' 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 ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] 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 ... [0s] 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 ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [42s] ERROR Running 'testthat.R' [42s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(archiveRetriever) > > test_check("archiveRetriever") ERROR in Urls[ 2 ]: Failed to parse text ERROR in Urls[ 1 ]: Failed to parse text ERROR in Urls[ 4 ]: Failed to parse text ERROR in Urls[ 1 ]: Failed to parse text [ FAIL 9 | WARN 8 | SKIP 16 | PASS 62 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • On CRAN (16): 'test_archive_overview.R:10:3', 'test_archive_overview.R:22:3', 'test_archive_overview.R:78:13', 'test_retrieve_urls.R:9:3', 'test_retrieve_urls.R:112:13', 'test_retrieve_urls.R:145:3', 'test_retrieve_urls.R:153:3', 'test_scrape_urls.R:415:3', 'test_scrape_urls.R:447:3', 'test_scrape_urls.R:467:5', 'test_scrape_urls.R:589:5', 'test_scrape_urls.R:628:5', 'test_scrape_urls.R:641:3', 'test_scrape_urls.R:658:3', 'test_scrape_urls.R:672:3', 'test_scrape_urls.R:700:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_retrieve_links.R:9:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/")`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:8:5 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/") at test_retrieve_links.R:9:5 ── Error ('test_retrieve_links.R:158:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", filter = TRUE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:157:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:158:5 ── Error ('test_retrieve_links.R:169:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", filter = FALSE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:168:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:169:5 ── Error ('test_retrieve_links.R:180:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", pattern = "spiegel.de/politik")`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:179:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:180:5 ── Error ('test_retrieve_links.R:200:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("https://de.wikipedia.org/wiki/Jesus_von_Nazaret", nonArchive = TRUE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:199:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:200:5 ── Failure ('test_scrape_urls.R:410:5'): scrape_urls() needs to start with second row when startnum is 2 ── output$Urls[1] not equal to "http://web.archive.org/web/20201009174440/https://www.uni-mannheim.de/universitaet/profil/geschichte/". target is NULL, current is character ── Failure ('test_scrape_urls.R:565:5'): scrape_urls() needs to sleep every 20 Urls ── nrow(output) not equal to 21. 1/1 mismatches [1] 1 - 21 == -20 ── Failure ('test_scrape_urls.R:622:5'): scrape_urls() needs to output 4 rows ── nrow(output) not equal to 4. 1/1 mismatches [1] 1 - 4 == -3 ── Error ('test_scrape_urls.R:687:5'): scrape_urls() returns a data frame ────── Error in `names(x) <- value`: 'names' attribute [2] must be the same length as the vector [0] Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_scrape_urls.R:686:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::scrape_urls(...) at test_scrape_urls.R:687:5 4. └─base::`colnames<-`(`*tmp*`, value = cnames) [ FAIL 9 | WARN 8 | SKIP 16 | PASS 62 ] Error: Test failures Execution halted * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 1 ERROR