- using R Under development (unstable) (2025-10-31 r88977)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘phsopendata/DESCRIPTION’ ... OK
- this is package ‘phsopendata’ version ‘1.0.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 ‘phsopendata’ can be installed ... OK
See the install log for details.
- checking package 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 ... 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 examples ... [4s/26s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/18s] ERROR
Running ‘testthat.R’ [17s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(phsopendata)
>
> test_check("phsopendata")
Starting 2 test processes
[ FAIL 1 | WARN 0 | SKIP 14 | PASS 62 ]
══ Skipped tests (14) ══════════════════════════════════════════════════════════
• On CRAN (14): 'test-dump_download.R:1:1', 'test-error_check.R:1:1',
'test-get_dataset.R:1:1', 'test-get_dataset_additional_info.R:1:1',
'test-get_dataset_context.R:1:1', 'test-get_resource.R:1:1',
'test-get_resource_context.R:1:1', 'test-get_resource_dump.R:1:1',
'test-get_resource_sql.R:1:1', 'test-list_datasets.R:1:1',
'test-list_resources.R:1:1', 'test-parse_error.R:1:1', 'test-phs_GET.R:1:1',
'test-suggest_dataset_names.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_latest_resource.R:6:3'): returns data for a dataset that is listed ──
Names of `data` ('ResID', 'ResName', 'ResCreatedDate', 'ResModifiedDate', 'Date', 'PracticeCode', 'HB', 'HSCP', 'Sex', 'SexQF', 'AllAges', 'AllAgesQF', 'Ages00to04', 'Ages00to04QF', 'Ages05to09', 'Ages05to09QF', 'Ages10to14', 'Ages10to14QF', 'Ages15to19', 'Ages15to19QF', 'Ages20to24', 'Ages20to24QF', 'Ages25to29', 'Ages25to29QF', 'Ages30to34', 'Ages30to34QF', 'Ages35to39', 'Ages35to39QF', 'Ages40to44', 'Ages40to44QF', 'Ages45to49', 'Ages45to49QF', 'Ages50to54', 'Ages50to54QF', 'Ages55to59', 'Ages55to59QF', 'Ages60to64', 'Ages60to64QF', 'Ages65to69', 'Ages65to69QF', 'Ages70to74', 'Ages70to74QF', 'Ages75to79', 'Ages75to79QF', 'Ages80to84', 'Ages80to84QF', 'Ages85plus', 'Ages85plusQF') don't match 'ResID', 'ResName', 'ResCreatedDate', 'ResModifiedDate', 'Date', 'PracticeCode', 'HB', 'HSCP', 'Sex', 'SexQF', 'AllAges', 'AllAgesQF', 'Ages0to4', 'Ages0To4QF', 'Ages5to14', 'Ages5To14QF', 'Ages15to24', 'Ages15To24QF', 'Ages25to44', 'Ages25To44QF', 'Ages45to64', 'Ages45To64QF', 'Ages65to74', 'Ages65To74QF', 'Ages75to84', 'Ages75To84QF', 'Ages85plus', 'Ages85PlusQF'
[ FAIL 1 | WARN 0 | SKIP 14 | PASS 62 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... 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