- 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 'weatherOz/DESCRIPTION' ... OK
- this is package 'weatherOz' version '2.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'weatherOz' 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 ... [6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [6s] OK
- checking whether the namespace can be unloaded cleanly ... [6s] OK
- checking loading without being on the library search path ... [6s] OK
- checking whether startup messages can be suppressed ... [6s] 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 ... [16s] 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 ... [10s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [95s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [95s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(weatherOz)
Attaching package: 'weatherOz'
The following object is masked from 'package:graphics':
plot
The following object is masked from 'package:base':
plot
>
> test_check("weatherOz")
Starting 2 test processes
[ FAIL 1 | WARN 0 | SKIP 87 | PASS 82 ]
══ Skipped tests (87) ══════════════════════════════════════════════════════════
• On CRAN (87): 'test-find_nearby_stations.R:5:15',
'test-find_nearby_stations.R:32:15', 'test-find_nearby_stations.R:48:15',
'test-find_nearby_stations.R:76:15', 'test-find_nearby_stations.R:104:15',
'test-find_nearby_stations.R:131:15', 'test-find_nearby_stations.R:158:15',
'test-find_nearby_stations.R:186:15', 'test-find_nearby_stations.R:214:15',
'test-find_nearby_stations.R:226:13', 'test-get_ag_bulletin.R:4:3',
'test-get_coastal_forecast.R:4:3', 'test-get_coastal_forecast.R:29:3',
'test-get_coastal_forecast.R:35:3', 'test-get_coastal_forecast.R:41:3',
'test-get_coastal_forecast.R:47:3', 'test-get_coastal_forecast.R:53:3',
'test-get_coastal_forecast.R:59:3', 'test-get_coastal_forecast.R:65:3',
'test-get_coastal_forecast.R:71:3', 'test-get_coastal_forecast.R:79:3',
'test-get_coastal_forecast.R:87:3', 'test-get_coastal_forecast.R:123:3',
'test-get_coastal_forecast.R:138:3', 'test-get_coastal_forecast.R:153:3',
'test-get_coastal_forecast.R:168:3', 'test-get_coastal_forecast.R:183:3',
'test-get_coastal_forecast.R:198:3', 'test-get_coastal_forecast.R:213:3',
'test-get_coastal_forecast.R:228:3', 'test-get_coastal_forecast.R:237:3',
'test-get_coastal_forecast.R:245:3', 'test-get_coastal_forecast.R:250:3',
'test-get_data_drill.R:56:5', 'test-get_data_drill.R:121:5',
'test-get_data_drill_apsim.R:42:5', 'test-get_dpird_apsim.R:4:5',
'test-get_dpird_availability.R:41:15', 'test-get_dpird_availability.R:71:15',
'test-get_dpird_extremes.R:34:5', 'test-get_dpird_extremes.R:92:5',
'test-get_dpird_minute.R:57:5', 'test-get_dpird_summaries.R:105:15',
'test-get_dpird_summaries.R:143:15', 'test-get_dpird_summaries.R:185:15',
'test-get_dpird_summaries.R:230:15', 'test-get_dpird_summaries.R:279:15',
'test-get_dpird_summaries.R:332:15', 'test-get_patched_point.R:44:5',
'test-get_patched_point.R:113:23', 'test-get_patched_point_apsim.R:34:5',
'test-get_precis_forecast.R:5:3', 'test-get_precis_forecast.R:59:3',
'test-get_precis_forecast.R:65:3', 'test-get_precis_forecast.R:71:3',
'test-get_precis_forecast.R:77:3', 'test-get_precis_forecast.R:83:3',
'test-get_precis_forecast.R:89:3', 'test-get_precis_forecast.R:95:3',
'test-get_precis_forecast.R:101:3', 'test-get_precis_forecast.R:109:3',
'test-get_precis_forecast.R:118:3', 'test-get_precis_forecast.R:180:3',
'test-get_precis_forecast.R:194:3', 'test-get_precis_forecast.R:208:3',
'test-get_precis_forecast.R:222:3', 'test-get_precis_forecast.R:236:3',
'test-get_precis_forecast.R:250:3', 'test-get_precis_forecast.R:264:3',
'test-get_precis_forecast.R:278:3', 'test-get_precis_forecast.R:286:3',
'test-get_precis_forecast.R:294:3', 'test-get_precis_forecast.R:299:3',
'test-get_radar_imagery.R:3:3', 'test-get_radar_imagery.R:8:3',
'test-get_radar_imagery.R:23:3', 'test-get_radar_imagery.R:30:3',
'test-get_satellite_imagery.R:2:3', 'test-get_satellite_imagery.R:9:3',
'test-get_satellite_imagery.R:20:3', 'test-get_satellite_imagery.R:29:3',
'test-get_stations_metadata.R:5:15', 'test-get_stations_metadata.R:33:15',
'test-get_stations_metadata.R:66:15', 'test-get_stations_metadata.R:123:15',
'test-get_stations_metadata.R:152:15', 'test-get_stations_metadata.R:183:17'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-find_stations_in.R:11:3'): find_stations_in() works with {sf} polygon ──
dim(x) (`actual`) not identical to c(671L, 11L) (`expected`).
`actual`: 670 11
`expected`: 671 11
[ FAIL 1 | WARN 0 | SKIP 87 | PASS 82 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10s] OK
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [8s] OK
- DONE
Status: 1 ERROR