From 21b9de48980d1e1b494d045a8b31666c4b99a9e5 Mon Sep 17 00:00:00 2001 From: Adam Sparks Date: Sun, 4 Jul 2021 13:18:34 +0800 Subject: [PATCH 01/21] Increment version number --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 370e0b5a..f08390f5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: GSODR Type: Package Title: Global Surface Summary of the Day ('GSOD') Weather Data Client -Version: 3.1.2 +Version: 3.1.2.9000 Authors@R: c(person("Adam H.", "Sparks", role = c("aut", "cre"), email = "adamhsparks@gmail.com", comment = c(ORCID = "0000-0002-0061-8359")), diff --git a/NEWS.md b/NEWS.md index 3e89eda7..93a9df3c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# GSODR (development version) + # GSODR 3.1.2 ## Bug fixes From 911e1c0cbd77c6fa90b3a0342681dd0ce0cad20f Mon Sep 17 00:00:00 2001 From: Adam Sparks Date: Thu, 8 Jul 2021 18:29:40 +0800 Subject: [PATCH 02/21] Delete cran-comments --- cran-comments.md | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 cran-comments.md diff --git a/cran-comments.md b/cran-comments.md deleted file mode 100644 index 65a28901..00000000 --- a/cran-comments.md +++ /dev/null @@ -1,21 +0,0 @@ -# GSODR 3.1.2 - -## Comments for the CRAN team - -I realise that the last release was last week, however, I found a few more bugs in the code that could cause some surprises with `NA` values for end users, so I've elected to release a new patch release. - -## Test environments -* GitHub Actions (ubuntu-latest): release, devel -* GitHub Actions (windows): release -* Github Actions (macOS): release -* Local macOS M1: release -* win-builder: devel - -## R CMD check results -0 ERRORs | 0 WARNINGs | 0 NOTES. - -## Reverse dependencies -We checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - - * We saw 0 new problems - * We failed to check 0 packages From 905f4f8e8df8a6f3d699af629c9cc6eeb84810a2 Mon Sep 17 00:00:00 2001 From: Adam Sparks Date: Sun, 26 Sep 2021 13:29:03 +0800 Subject: [PATCH 03/21] Update isd_history files --- data-raw/fetch_isd-history.Rmd | 13 +- data-raw/fetch_isd-history.md | 215 +++++++++++++++++---------------- inst/extdata/isd_diff.rda | Bin 2766521 -> 2769763 bytes inst/extdata/isd_history.rda | Bin 451849 -> 451679 bytes 4 files changed, 116 insertions(+), 112 deletions(-) diff --git a/data-raw/fetch_isd-history.Rmd b/data-raw/fetch_isd-history.Rmd index 79cde5c9..e6e73b5a 100644 --- a/data-raw/fetch_isd-history.Rmd +++ b/data-raw/fetch_isd-history.Rmd @@ -38,11 +38,11 @@ The following checks are performed on the raw data file before inclusion in _GSO ## Set up workspace -```{r set_up_workspace, echo=TRUE, message=FALSE, output=FALSE, warning=FALSE} -if (!require("pacman")) { - install.packages("pacman", repos = "https://cran.rstudio.com/") -} -pacman::p_load("sessioninfo", "skimr", "countrycode", "data.table") +```{r load_libs, echo=TRUE, message=FALSE, output=FALSE, warning=FALSE} +library("sessioninfo") +library("skimr") +library("countrycode") +library("data.table") ``` ## Download and clean data @@ -123,7 +123,8 @@ setkeyv(new_isd_history, "STNID")[] ## Show changes from last release ```{r diff-codes} -install.packages("GSODR") # ensure we aren't using a locally installed dev version +# ensure we aren't using a locally installed dev version +install.packages("GSODR", repos = "https://cloud.r-project.org/") load(system.file("extdata", "isd_history.rda", package = "GSODR")) # select only the cols of interest diff --git a/data-raw/fetch_isd-history.md b/data-raw/fetch_isd-history.md index 0d9c8337..76b476ba 100644 --- a/data-raw/fetch_isd-history.md +++ b/data-raw/fetch_isd-history.md @@ -1,7 +1,7 @@ Fetch and Clean ‘isd_history.csv’ File ================ Adam H. Sparks -2021-06-24 +2021-09-26