diff --git a/Makefile b/Makefile index c50c4822..9e5bb505 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,9 @@ check: build @rm -f `ls -1tr ${PACKAGE}*gz | tail -n1` @rm -rf ${PACKAGE}.Rcheck +check_windows: + ${RSCRIPT} -e "devtools::check_win_devel(); devtools::check_win_release()" + test: ${RSCRIPT} -e "devtools::test()" diff --git a/NEWS.md b/NEWS.md index 7fbc507c..a16f2a3e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,26 @@ rnoaa 0.9.6 =========== +### NEW FEATURES + +* new function `rnoaa_options()` to toggle package level options; only option for now is `cache_messages`, a boolean to toggle whether the user gets messages about cached files or not. along with this change, messages about cached files and file sizes and locations are now consistently used across all functions that cache files on disk (#331) +* new manual file `?rnoaa_caching` - with information on how to access and manage cached files for each of the rnoaa functions that caches files on disk (#346) +* `isd()` moved to using `hoardr` caching - see `?isd_cache` for details (#347) + ### MINOR IMPROVEMENTS * remove internal code in many exported functions looking for user input `path` parameter and telling them it's no longer used; been defunct for quite a while +* now able to cache http requests for tests that write to disk (#290) (#345) +* `ghcnd_stations()` now caching data - first time requests should now take just over 1 minute, with subsequent requests (assuming cached data isn't deleted) taking ~ 3 seconds (#164) +* `autoplot` method `meteo_coverage()` fix to visually display gaps in data (#314) (#333) thanks @philipshirk + +### BUG FIXES + +* fix for ncdc functions to fail better - NOAA was returning HTML on request failures instead of JSON - catch that better and give proper http status code response (#338) +* `meteo_nearby_stations()` fix: coerce input data.frame to the function to a data.frame before remainder of steps - in case user inputs a tibble (#340) +* `coops_search()` fix: when `product=predictions`, we get no metadata back - so just dont adjust times (#342) +* `lcd()` changes: gains `lcd_cache` for managing cached files; use a new internal function for safely reading each csv file, with more informative error messages; (#344) +* `meteo_pull_monitors()` fix: changed internals of `meteo_tidy_ghcnd()` to set -9999 values to NA slightly differently to avoi failing (#348) rnoaa 0.9.5 diff --git a/codemeta.json b/codemeta.json index 06bb94ca..2600f224 100644 --- a/codemeta.json +++ b/codemeta.json @@ -10,14 +10,13 @@ "codeRepository": "https://github.com/ropensci/rnoaa", "issueTracker": "https://github.com/ropensci/rnoaa/issues", "license": "https://spdx.org/licenses/MIT", - "version": "0.9.5", + "version": "0.9.6", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", - "version": "3.6.1", "url": "https://r-project.org" }, - "runtimePlatform": "R version 3.6.1 Patched (2019-09-23 r77210)", + "runtimePlatform": "R version 3.6.3 Patched (2020-03-11 r78147)", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -29,7 +28,8 @@ "@type": "Person", "givenName": "Scott", "familyName": "Chamberlain", - "email": "myrmecocystus@gmail.com" + "email": "myrmecocystus@gmail.com", + "@id": "https://orcid.org/0000-0003-1444-9135" } ], "contributor": [ @@ -79,7 +79,8 @@ "@type": "Person", "givenName": "Scott", "familyName": "Chamberlain", - "email": "myrmecocystus@gmail.com" + "email": "myrmecocystus@gmail.com", + "@id": "https://orcid.org/0000-0003-1444-9135" } ], "softwareSuggestions": [ @@ -87,7 +88,7 @@ "@type": "SoftwareApplication", "identifier": "roxygen2", "name": "roxygen2", - "version": ">= 6.1.1", + "version": ">= 7.1.0", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -244,7 +245,7 @@ "@type": "SoftwareApplication", "identifier": "vcr", "name": "vcr", - "version": ">= 0.2.2", + "version": ">= 0.5.4", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -252,6 +253,18 @@ "url": "https://cran.r-project.org" }, "sameAs": "https://CRAN.R-project.org/package=vcr" + }, + { + "@type": "SoftwareApplication", + "identifier": "webmockr", + "name": "webmockr", + "provider": { + "@id": "https://cran.r-project.org", + "@type": "Organization", + "name": "Comprehensive R Archive Network (CRAN)", + "url": "https://cran.r-project.org" + }, + "sameAs": "https://CRAN.R-project.org/package=webmockr" } ], "softwareRequirements": [ @@ -456,14 +469,20 @@ "sameAs": "https://CRAN.R-project.org/package=hoardr" } ], - "contIntegration": "https://travis-ci.org/ropensci/rnoaa", + "contIntegration": ["https://travis-ci.org/ropensci/rnoaa", "https://ci.appveyor.com/project/sckott/rnoaa/branch/master", "https://codecov.io/github/ropensci/rnoaa?branch=master"], "releaseNotes": "https://github.com/ropensci/rnoaa/blob/master/NEWS.md", "readme": "https://github.com/ropensci/rnoaa/blob/master/README.md", - "fileSize": "1998.543KB", + "fileSize": "0KB", "applicationCategory": "Climate", "isPartOf": "https://ropensci.org", "keywords": ["earth", "science", "climate", "precipitation", "temperature", "storm", "buoy", "NCDC", "NOAA", "tornadoe", "seaice", "ISD", "noaa", "rstats", "noaa-data", "r", "r-package"], "relatedLink": "https://docs.ropensci.org/rnoaa", "copyrightHolder": {}, - "funder": {} + "funder": [ + { + "@type": "Organization", + "name": "rOpenSci" + } + ], + "developmentStatus": "https://www.repostatus.org/#active" } diff --git a/cran-comments.md b/cran-comments.md index 701598c0..44c3cddc 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,7 @@ ## Test environments -* local OS X install, R 3.6.1 Patched -* ubuntu 14.04 (on travis-ci), R 3.6.1 +* local OS X install, R 3.6.3 Patched +* ubuntu 16.04 (on travis-ci), R 3.6.3 * win-builder (release, devel) ## R CMD check results @@ -15,7 +15,7 @@ Checked on the 2 reverse dependencies - no problems were found ----- -This version fixes problems with the gefs functions that arose from CRAN check failures: gefs functions have been removed for now while they are overhauled. +This version fixes a number of bugs and improves file caching. Thanks! Scott Chamberlain diff --git a/revdep/README.md b/revdep/README.md index 98271384..429e3452 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -2,22 +2,21 @@ |field |value | |:--------|:-------------------------------------------| -|version |R version 3.6.1 Patched (2019-09-23 r77210) | -|os |macOS Mojave 10.14.6 | +|version |R version 3.6.3 Patched (2020-03-11 r78147) | +|os |macOS Catalina 10.15.4 | |system |x86_64, darwin15.6.0 | |ui |X11 | |language |(EN) | |collate |en_US.UTF-8 | |ctype |en_US.UTF-8 | |tz |US/Pacific | -|date |2019-10-22 | +|date |2020-04-06 | # Dependencies |package |old |new |Δ | |:-------|:-----|:-----|:--| -|rnoaa |0.9.0 |0.9.2 |* | -|rlang |NA |0.4.1 |* | +|rnoaa |0.9.5 |0.9.6 |* | # Revdeps