- using R version 4.4.1 (2024-06-14 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'GSODR/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'GSODR' version '4.1.2'
- 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 'GSODR' 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 ... [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 ... [1s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [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 ... [3s] 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 ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [5s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(GSODR)
>
> test_check("GSODR")
Starting 2 test processes
[ FAIL 1 | WARN 1 | SKIP 27 | PASS 0 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (27): 'test-get_inventory.R:4:3', 'test-get_inventory.R:43:3',
'test-nearest_stations.R:4:3', 'test-reformat_GSOD.R:4:3',
'test-reformat_GSOD.R:59:3', 'test-get_GSOD.R:6:3', 'test-get_GSOD.R:19:3',
'test-get_GSOD.R:26:3', 'test-get_GSOD.R:35:3', 'test-get_GSOD.R:44:3',
'test-get_GSOD.R:55:3', 'test-get_GSOD.R:104:3', 'test-get_GSOD.R:149:3',
'test-get_GSOD.R:154:3', 'test-get_GSOD.R:160:3', 'test-get_GSOD.R:180:3',
'test-get_GSOD.R:189:5', 'test-get_GSOD.R:199:5', 'test-get_GSOD.R:207:3',
'test-get_GSOD.R:214:3', 'test-get_GSOD.R:227:3', 'test-get_GSOD.R:235:3',
'test-get_GSOD.R:249:5', 'test-get_GSOD.R:319:3', 'test-get_GSOD.R:325:3',
'test-update_station_list.R:4:3', 'test-update_station_list.R:16:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-test-get_updates.R:2:3'): get_updates() returns a data.table ───
Error: The NCEI server with the update information is not responding. Please retry again later.
Backtrace:
▆
1. └─GSODR::get_updates() at test-test-get_updates.R:2:3
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
[ FAIL 1 | WARN 1 | SKIP 27 | PASS 0 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR