- using R Under development (unstable) (2025-07-15 r88411)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘archiveRetriever/DESCRIPTION’ ... OK
- this is package ‘archiveRetriever’ version ‘0.4.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘archiveRetriever’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/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 ... [8s/10s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/67s] ERROR
Running ‘testthat.R’ [7s/67s]
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 10 | WARN 8 | SKIP 16 | PASS 61 ]
══ 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_retrieve_urls.R:133:13'): retrieve_urls() returns error if request timeout ──
`retrieve_urls(...)` did not throw an error.
── 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 10 | WARN 8 | SKIP 16 | PASS 61 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR