- using R Under development (unstable) (2025-07-21 r88432)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.8
flang version 20.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘NSR’ can be installed ... OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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/11s] OK
- checking Rd files ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... 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 ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/11s] ERROR
Running ‘testthat.R’ [5s/11s]
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 ... [4s/18s] OK
- checking PDF version of manual ... [7s/15s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR