* using log directory 'd:/Rcompile/CRANpkg/local/4.3/Pandora.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Pandora/DESCRIPTION' ... OK * this is package 'Pandora' version '24.2.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 'Pandora' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 R 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 ... [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 ... [6s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(Pandora) > > test_check("Pandora") Error in getData(name = "14CARHU - Radiocarbon Dates of Helsinki University") : Error in validateResource(., repository = repository) : No resource found for repository '' Error in getData(name = "CIMA Animals 29.05.2021 CSV", options = dataOptions(sep = ";")) : Error in validateResource(., repository = repository) : No resource found for repository '' Error in getData(name = "CIMA Plants 29.05.2021 CSV", options = dataOptions(sep = ";")) : Error in validateResource(., repository = repository) : No resource found for repository '' Error in getData(name = "Zanadamu CSV format", options = dataOptions(fileEncoding = "ISO-8859-1")) : Error in validateResource(., repository = repository) : No resource found for repository '' [ FAIL 13 | WARN 34 | SKIP 3 | PASS 7 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • empty test (3): 'test-getData.R:1:1', 'test-getData.R:21:1', 'test-getData.R:70:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ckan.R:4:3'): Test getResources() ──────────────────────────── getResources(fileType = c("csv"), pattern = "victoria") not equal to structure(...). Attributes: < Names: 1 string mismatch > Attributes: < Length mismatch: comparison on first 2 components > Attributes: < Component 2: Modes: character, numeric > Attributes: < Component 2: Lengths: 1, 2 > Attributes: < Component 2: target is character, current is numeric > Component "repository": Lengths (0, 2) differ (string compare on first 0) Component "name": Lengths (0, 2) differ (string compare on first 0) Component "format": Lengths (0, 2) differ (string compare on first 0) Component "url": Lengths (0, 2) differ (string compare on first 0) ── Failure ('test-ckan.R:21:3'): Test getFileTypes() ─────────────────────────── getFileTypes(pattern = "victoria") not equal to structure(...). Names: 1 string mismatch Attributes: < Names: 1 string mismatch > Attributes: < Length mismatch: comparison on first 2 components > Attributes: < Component 2: Modes: character, numeric > Attributes: < Component 2: target is character, current is numeric > Length mismatch: comparison on first 2 components Component "name": Lengths (0, 1) differ (string compare on first 0) Component 2: Lengths (0, 1) differ (string compare on first 0) ── Failure ('test-ckan.R:31:3'): Test getRepositories() ──────────────────────── nrow(getRepositories(network = "aghfjdhfjgkhj")) == 0 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-ckan.R:34:3'): Test getRepositories() ──────────────────────── colnames(testRepos) not equal to c(...). target is NULL, current is character ── Failure ('test-ckan.R:39:3'): Test getRepositories() ──────────────────────── all(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-ckan.R:44:3'): Test getRepositories() ──────────────────────── all(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-ckan.R:52:3'): Test getRepositories() ──────────────────────── "austarch-a-database-of-14c-and-luminescence-ages-from-archaeological-sites-in-australia" not equal to testRepos$Name. Types not compatible: character is not NULL ── Failure ('test-ckan.R:57:3'): Test getRepositories() ──────────────────────── "AustArch: A Database of 14C and Luminescence Ages from Archaeological Sites in Australia" not equal to testRepos$Repository. Types not compatible: character is not NULL ── Failure ('test-ckan.R:63:3'): Test getRepositories() ──────────────────────── colnames(testRepos) not equal to c(...). target is NULL, current is character ── Failure ('test-ckan.R:85:3'): Test filterPattern() ────────────────────────── nrow(filterPattern(testRes, pattern = "Roman")) < nrow(testRes) is not TRUE `actual`: `expected`: TRUE ── Failure ('test-ckan.R:88:3'): Test filterPattern() ────────────────────────── nrow(filterPattern(testRes, pattern = "cjyvfljdosijvckjnlsfnsdkfnak")) == 0 is not TRUE `actual`: `expected`: TRUE ── Error ('test-getData.R:48:5'): Test getData() from csv if newer Windows machine ── Error in `getData(name = "Isotopic measurements in CSV format")`: Error in validateResource(., repository = repository) : No resource found for repository '' Backtrace: ▆ 1. └─Pandora::getData(name = "Isotopic measurements in CSV format") at test-getData.R:48:5 ── Error ('test-getData.R:126:3'): Test loadData() ───────────────────────────── Error in `match.arg(type)`: 'arg' should be one of "xlsx", "xls", "odt", "csv", "txt" Backtrace: ▆ 1. └─Pandora::loadData(...) at test-getData.R:126:3 2. └─base::match.arg(type) [ FAIL 13 | WARN 34 | SKIP 3 | PASS 7 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [4s] ERROR Error(s) in re-building vignettes: --- re-building 'how-to-use-pandora-data.Rmd' using rmarkdown Quitting from lines 91-98 [getdata] (how-to-use-pandora-data.Rmd) Error: processing vignette 'how-to-use-pandora-data.Rmd' failed with diagnostics: Error in validateResource(., repository = repository) : No resource found for repository '' --- failed re-building 'how-to-use-pandora-data.Rmd' SUMMARY: processing the following file failed: 'how-to-use-pandora-data.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 2 ERRORs