From 5862565f94b3cd9fa03da79e874df596f5925de5 Mon Sep 17 00:00:00 2001 From: Roy Mendelssohn Date: Wed, 19 Oct 2022 12:34:14 -0700 Subject: [PATCH] CRAN Version 1.0.0 --- DESCRIPTION | 15 +++++++-------- NEWS.md | 5 +++++ cran-comments.md | 13 ++++++++----- vignettes/using_plotdap.Rmd | 5 +++-- 4 files changed, 23 insertions(+), 15 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d8bfa55..beb948a 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,29 +1,28 @@ Package: plotdap Title: Easily Visualize Data from 'ERDDAP' Servers via the 'rerddap' Package -Version: 0.0.9 -Date: 2020-10-28 +Version: 1.0.0 +Date: 2022-10-17 Authors@R: c( person("Carson", "Sievert", role = "aut"), person("Roy", "Mendelssohn", role = c("aut", "ctb", "cre"), email = "roy.mendelssohn@noaa.gov")) Description: Easily visualize and animate 'tabledap' and 'griddap' objects obtained via the 'rerddap' package in a simple one-line command, using either base graphics or 'ggplot2' graphics. 'plotdap' handles extracting and reshaping the data, map projections and continental outlines. Optionally the data can be animated through time using the 'gganmiate' package. License: MIT + file LICENSE -URL: https://github.com/ropensci/plotdap -BugReports: https://github.com/ropensci/plotdap/issues +URL: https://github.com/rmendels/plotdap +BugReports: https://github.com/rmendels/plotdap/issues Depends: R (>= 4.0.0) Imports: cmocean, dplyr, gganimate, - ggnewscale (>= 0.4.1), + ggnewscale, ggplot2 (>= 3.1.0), lazyeval, lubridate, magrittr, maps, raster, - rerddap (>= 0.6.0), - rgeos, + rerddap (>= 0.8.0), scales, sf, tidyr, @@ -36,7 +35,7 @@ Suggests: rgdal, rmarkdown, testthat -RoxygenNote: 7.1.1 +RoxygenNote: 7.2.1 LazyData: true Encoding: UTF-8 VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 7eaf516..6f22cd4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# plotdap 1.0.0 + + Removed direct dependency on rgeos, rgdal + Fixed Broken URLs in DESCRIPTION, vignette + # plotdap 0.0.9 Vignette changed so it will not fail on CRAN diff --git a/cran-comments.md b/cran-comments.md index b4f60b3..fed77c1 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,12 +1,15 @@ -## Vignette changed so that rebuild of vignette will not fail +## Various minor fixes + +Removed dependency on rgeos, rgdal +Fixed broken URLs in DESCRIPTION, vignette + -Quick Re-submission in response to notice from CRAN to fix -error in vignette rebuild ## Test environments -* local OS X install, R 4.0.3 -* local Fedora, R 4.0.2 +* local OS X install, R 4.2.1 +* rhub +* macOS-builder * win-builder (devel and release) ## R CMD check results diff --git a/vignettes/using_plotdap.Rmd b/vignettes/using_plotdap.Rmd index 3133329..58d69f0 100644 --- a/vignettes/using_plotdap.Rmd +++ b/vignettes/using_plotdap.Rmd @@ -64,7 +64,7 @@ plotdap("base") In addition to choosing a plotting method, `plotdap()` is where you can define properties of the background map, including the target projection using a valid coordinate reference system (CRS) definition. Projection is performed using the -[PROJ.4 library](https://proj4.org/), and +[PROJ.4 library](https://proj.org/), and [spatialreference.org](https://www.spatialreference.org) is a great resource for finding PROJ.4 CRS descriptions. Using the search utility, you can for example, [search for "South @@ -514,7 +514,8 @@ The `plotdap()` interface is designed so that you can plot both tables and grids ```{r overlay, echo = TRUE, eval = FALSE} p <- add_griddap(plotdap(), murSST_west, - ~analysed_sst + ~analysed_sst, + fill = "thermal" ) p1 <- add_tabledap(p, sardines,