* using log directory 'd:/Rcompile/CRANpkg/local/4.6/NSR.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 'NSR/DESCRIPTION' ... OK * this is package 'NSR' version '0.1.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 'NSR' 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] 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 ... [2s] 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 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 ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(NSR) > > > test_check("NSR") [ FAIL 2 | WARN 0 | SKIP 11 | PASS 0 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (1): 'test-NSR_metadata.R:6:3' • class(NSR_fields) == "data.frame" is not TRUE (1): 'test-NSR_data_dictionary.R:16:3' • class(NSR_status) == "data.frame" is not TRUE (1): 'test-NSR_data_dictionary.R:34:3' • class(NSR_version_metadata) == "data.frame" is not TRUE (1): 'test-NSR_version.R:16:3' • class(citation_info) == "data.frame" is not TRUE (1): 'test-NSR_citations.R:17:3' • class(nsr_checklists) == "data.frame" is not TRUE (1): 'test-NSR_political_divisions.R:35:3' • class(nsr_poldivs) == "data.frame" is not TRUE (1): 'test-NSR_political_divisions.R:16:3' • class(results) == "data.frame" is not TRUE (2): 'test-NSR.R:17:3', 'test-NSR_simple.R:20:3' • class(results2) == "data.frame" is not TRUE (1): 'test-NSR_simple.R:40:3' • class(sources) == "data.frame" is not TRUE (1): 'test-NSR_sources.R:17:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-NSR_political_divisions.R:12:3'): example works ────────────── `nsr_poldivs` is not an S3 object ── Failure ('test-NSR_political_divisions.R:31:3'): example 2 works ──────────── `nsr_checklists` is not an S3 object [ FAIL 2 | WARN 0 | SKIP 11 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [8s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR