Skip to content

Commit 024642f

Browse files
committed
update news, cran comments before submission
1 parent 80e33e9 commit 024642f

File tree

4 files changed

+35
-17
lines changed

4 files changed

+35
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ inst/doc
88
/doc/
99
/Meta/
1010
docs/
11+
inst/RELEASE-2.0.2.md/

NEWS.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
# weatherOz 2.0.2
22

3+
**CRAN Re-submission** - Maintenance release addressing archival issues
4+
35
## Bug fixes
4-
* Fixed compatibility with `crul` 1.6.0 by updating minimum `vcr` requirement to 2.0.0, resolving VCR cassette testing issues caused by deprecated `mock()` function.
56
* Made station count tests more flexible to accommodate natural changes in weather station networks over time, using ranges instead of exact counts.
6-
* Updated all broken URLs following organizational changes: moved `agric.wa.gov.au/web-apis` to `dpird.wa.gov.au/online-tools/apis/`, `pulseaus.com.au` to `grainsaustralia.com.au`, and fixed all DPIRD API documentation URLs.
7+
8+
* Fixed compatibility with `crul` 1.6.0 by updating minimum `vcr` requirement to 2.0.0, resolving VCR cassette testing issues caused by deprecated `mock()` function.
9+
10+
* URL updates following DPIRD IT system migration:
11+
* API endpoints: Maintained on `api.agric.wa.gov.au`
12+
* Updated DPIRD API documentation URLs: `agric.wa.gov.au/apis/api-terms-and-conditions` to `dpird.wa.gov.au/online-tools/apis/api-terms-and-conditions/` and `agric.wa.gov.au/form/dpird-api-registration` to `dpird.wa.gov.au/forms/dpird-api-registration/`
13+
* Updated organisational URL: `pulseaus.com.au/about/australian-pulse-industry` to `grainsaustralia.com.au`
14+
* Updated all references in vignettes, README files, and function documentation
15+
16+
## Additional fixes and improvements:
717
* Addressed CRAN URL check issues by updating all redirected links to their new working locations.
818

19+
* Updated all man pages with corrected URLs; Fixed all broken links in README and vignettes.
20+
21+
* Added `@importFrom curl` directives for all curl functions used in the package to resolve import warnings.
22+
23+
* Flexible station count testing: Made tests more resilient by using ranges instead of exact station counts.
24+
* Accommodates natural changes in weather station networks over time
25+
* Prevents test failures due to minor station count variations
26+
927
# weatherOz 2.0.1
1028

1129
## Minor changes

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ knitr::opts_chunk$set(
2424
<!-- badges: end -->
2525

2626
{weatherOz} facilitates access to and download of weather and climate data for Australia from Australian data sources.
27-
Data are sourced from from the [Western Australia Department of Primary Industries and Regional Development (DPIRD)](https://www.dpird.wa.gov.au/online-tools/apis/) and the [Scientific Information for Land Owners (SILO) API](https://www.dpird.wa.gov.au/online-tools/apis/) endpoints and the Australian Government Bureau of Meteorologys (BOM) [FTP server](http://www.bom.gov.au/catalogue/anon-ftp.shtml).
27+
Data are sourced from from the [Western Australia Department of Primary Industries and Regional Development (DPIRD)](https://www.dpird.wa.gov.au/online-tools/apis/) and the [Scientific Information for Land Owners (SILO) API](https://www.longpaddock.qld.gov.au/silo/) endpoints and the Australian Government Bureau of Meteorology's (BOM) [FTP server](http://www.bom.gov.au/catalogue/anon-ftp.shtml).
2828

2929
The package queries the APIs or an FTP server and returns data as a data frame or radar and satellite imagery in your R session.
3030
Observation data from DPIRD's weather station network are available via the [Weather 2.0](https://www.dpird.wa.gov.au/online-tools/apis/) Open API initiative.

cran-comments.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
11
# CRAN Re-submission
22

3-
This is a resubmission of weatherOz version 2.0.2. The package was archived on 2025-08-25 due to VCR/HTTP testing compatibility issues with updated `crul` package dependencies. This submission addresses those compatibility issues and fixes URL problems identified in win-builder checks.
3+
This is a resubmission of weatherOz version 2.0.2. The package was archived on 2025-08-25 (v2.0.1) due CRAN policy violation on internet access.
4+
Further issues were present with VCR/HTTP testing compatibility with updated `crul` package dependencies and redirected URLs.
45

56
## Changes in this version
6-
* Fixed compatibility with `crul` 1.6.0 by updating minimum `vcr` requirement to 2.0.0, resolving VCR cassette testing issues caused by deprecated `mock()` function
7+
* Updated URLs to reflect DPIRD's IT migration, new webpage and to fix broken links identified in win-builder checks
78
* Made station count tests more flexible to accommodate natural changes in weather station networks over time, using ranges instead of exact counts
9+
* Fixed compatibility with `crul` 1.6.0 by updating minimum `vcr` requirement to 2.0.0, resolving VCR cassette testing issues caused by deprecated `mock()` function
810

911
## Test environments
1012
* local macOS Sequoia 15.6, R 4.4.3
1113
* GitHub Actions (ubuntu-latest, windows-latest, macOS-latest), R release and devel
1214
* R-hub builder
1315

1416
## R CMD check results
15-
There were no ERRORs or WARNINGs.
16-
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
17-
18-
There was 1 NOTE on some platforms. This NOTE is due to the vignettes containing embedded images and examples, which is expected for a package that processes weather data and creates visualizations.
19-
20-
## Test results
21-
* All VCR/cassette HTTP mocking tests now pass with the updated dependencies
22-
* Tests use flexible ranges for station counts to accommodate natural changes in weather station networks
23-
* 402 tests pass
17+
There were no ERRORs or WARNINGs. There was 1 NOTE, as follows:
18+
"CRAN repository db overrides:
19+
X-CRAN-Comment: Archived on 2025-08-25 for policy violation.
20+
On Internet access.""
2421

2522
## URL Status
26-
Some URLs flagged in the win-builder check have been addressed:
23+
URLs flagged in the win-builder check have been addressed:
2724
* Updated `https://www.agric.wa.gov.au/web-apis``https://www.dpird.wa.gov.au/online-tools/apis/` (301 redirect)
2825
* Updated `https://www.pulseaus.com.au/about/australian-pulse-industry``https://grainsaustralia.com.au` (301 redirect)
2926

3027
All previously problematic DPIRD URLs have been updated to their new locations:
3128
* `https://www.agric.wa.gov.au/apis/api-terms-and-conditions``https://www.dpird.wa.gov.au/online-tools/apis/api-terms-and-conditions/`
3229
* `https://www.agric.wa.gov.au/form/dpird-api-registration``https://www.dpird.wa.gov.au/forms/dpird-api-registration/`
30+
* Weather interface URL updated from `weather.agric.wa.gov.au``weather.dpird.wa.gov.au`
31+
* **API endpoints**: Currently maintained on working `api.agric.wa.gov.au`
3332

34-
These URLs are now working and accessible following DPIRD's completion of their IT system migration to the new platform.
33+
These URLs are now working and accessible following DPIRD's completion of the IT system migration to the new platform.
3534

3635
## Additional notes
37-
This submission addresses critical compatibility issues that were preventing the package from working properly with the latest versions of HTTP testing dependencies. The fixes ensure continued functionality for users and maintain the quality of the test suite.
36+
This submission addresses the policy violation, the compatibility issues and fixes URL problems identified in R CMD checks.

0 commit comments

Comments
 (0)