* using log directory 'd:/Rcompile/CRANpkg/local/4.4/GNRS.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'GNRS/DESCRIPTION' ... OK * this is package 'GNRS' version '0.3.4' * 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 'GNRS' 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] 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 ... [1s] 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 ... [4s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [18s] ERROR Running 'testthat.R' [18s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(GNRS) > > > test_check("GNRS") [ FAIL 27 | WARN 0 | SKIP 3 | PASS 9 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-gnrs_error_handling.R:39:3', 'test-gnrs_error_handling.R:77:3' • class(GNRS_dictionary) == "data.frame" is not TRUE (1): 'test-gnrs_data_dictionary.R:16:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-gnrs.R:21:3'): example works ───────────────────────────────── class(results) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs.R:23:3'): example works ───────────────────────────────── safe_nrow(results) not equal to 1. 1/1 mismatches [1] 0 - 1 == -1 ── Failure ('test-gnrs.R:34:3'): example works ───────────────────────────────── class(results) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs.R:36:3'): example works ───────────────────────────────── safe_nrow(results) not equal to 1. 1/1 mismatches [1] 0 - 1 == -1 ── Failure ('test-gnrs_data_dictionary.R:12:3'): example works ───────────────── class(GNRS_dictionary) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_counties.R:26:3'): example works ──────────────────── class(us_counties) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_counties.R:28:3'): example works ──────────────────── safe_nrow(us_counties) is not strictly more than 100. Difference: -100 ── Failure ('test-gnrs_get_counties.R:41:3'): default input returns data.frame ── class(counties) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_counties.R:43:3'): default input returns data.frame ── safe_nrow(counties) is not strictly more than 1000. Difference: -1e+03 ── Failure ('test-gnrs_get_countries.R:21:3'): example works ─────────────────── class(countries) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_countries.R:23:3'): example works ─────────────────── safe_nrow(countries) is not strictly more than 100. Difference: -100 ── Failure ('test-gnrs_get_states.R:20:3'): example works ────────────────────── class(states) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_states.R:22:3'): example works ────────────────────── safe_nrow(states) is not strictly more than 100. Difference: -100 ── Failure ('test-gnrs_get_states.R:38:3'): inputing specific countries works ── class(states) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_get_states.R:40:3'): inputing specific countries works ── safe_nrow(states) is not strictly more than 10. Difference: -10 ── Failure ('test-gnrs_metadata.R:13:3'): example works ──────────────────────── class(all_metadata) not equal to "list". 1/1 mismatches x[1]: "NULL" y[1]: "list" ── Failure ('test-gnrs_metadata.R:15:3'): example works ──────────────────────── length(all_metadata) not equal to 4. 1/1 mismatches [1] 0 - 4 == -4 ── Failure ('test-gnrs_super_simple.R:12:3'): example works ──────────────────── class(results) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_super_simple.R:14:3'): example works ──────────────────── nrow(results) not equal to 1. target is NULL, current is numeric ── Failure ('test-gnrs_super_simple.R:23:3'): example works ──────────────────── class(results) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_super_simple.R:25:3'): example works ──────────────────── nrow(results) not equal to 1. target is NULL, current is numeric ── Failure ('test-gnrs_super_simple.R:43:3'): bad input returns no match ─────── nonsense_query$match_status not equal to "no match". target is NULL, current is character ── Failure ('test-gnrs_super_simple.R:61:3'): Good input returns a match ─────── sensible_query$match_status not equal to "full match". target is NULL, current is character ── Failure ('test-gnrs_template.R:18:3'): example works ──────────────────────── class(results) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_template.R:19:3'): example works ──────────────────────── nrow(results) not equal to 2. target is NULL, current is numeric ── Failure ('test-gnrs_version.R:12:3'): example works ───────────────────────── class(GNRS_version_metadata) not equal to "data.frame". 1/1 mismatches x[1]: "NULL" y[1]: "data.frame" ── Failure ('test-gnrs_version.R:14:3'): example works ───────────────────────── nrow(GNRS_version_metadata) not equal to 1. target is NULL, current is numeric [ FAIL 27 | WARN 0 | SKIP 3 | PASS 9 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [6s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR