diff --git a/CITATION.cff b/CITATION.cff index 7ceb6ac6..916a1ee6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -33,7 +33,6 @@ preferred-citation: abstract: Extension of the tidyverse for SpatRaster and SpatVector objects of the terra package. It includes also new geom_ functions that provide a convenient way of visualizing terra objects with ggplot2. -repository: https://CRAN.R-project.org/package=tidyterra repository-code: https://github.com/dieghernan/tidyterra url: https://dieghernan.github.io/tidyterra/ contact: @@ -74,6 +73,7 @@ references: given-names: Gábor email: csardi.gabor@gmail.com year: '2022' + url: https://CRAN.R-project.org/package=cli version: '>= 3.0.0' - type: software title: crayon @@ -84,7 +84,7 @@ references: given-names: Gábor email: csardi.gabor@gmail.com year: '2022' - url: https://github.com/r-lib/crayon#readme + url: https://CRAN.R-project.org/package=crayon - type: software title: data.table abstract: 'data.table: Extension of `data.frame`' @@ -97,6 +97,7 @@ references: given-names: Arun email: asrini@pm.me year: '2022' + url: https://CRAN.R-project.org/package=data.table - type: software title: dplyr abstract: 'dplyr: A Grammar of Data Manipulation' @@ -115,6 +116,7 @@ references: given-names: Kirill orcid: https://orcid.org/0000-0002-1416-3412 year: '2022' + url: https://CRAN.R-project.org/package=dplyr version: '>= 1.0.0' - type: software title: ggplot2 @@ -149,6 +151,7 @@ references: given-names: Dewey orcid: https://orcid.org/0000-0002-9415-4582 year: '2022' + url: https://CRAN.R-project.org/package=ggplot2 version: '>= 3.1.0' - type: software title: magrittr @@ -162,6 +165,7 @@ references: given-names: Hadley email: hadley@rstudio.com year: '2022' + url: https://CRAN.R-project.org/package=magrittr - type: software title: rlang abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features' @@ -174,6 +178,7 @@ references: given-names: Hadley email: hadley@rstudio.com year: '2022' + url: https://CRAN.R-project.org/package=rlang - type: software title: scales abstract: 'scales: Scale Functions for Visualization' @@ -185,6 +190,7 @@ references: - family-names: Seidel given-names: Dana year: '2022' + url: https://CRAN.R-project.org/package=scales - type: software title: sf abstract: 'sf: Simple Features for R' @@ -195,6 +201,7 @@ references: email: edzer.pebesma@uni-muenster.de orcid: https://orcid.org/0000-0001-8049-7069 year: '2022' + url: https://CRAN.R-project.org/package=sf version: '>= 1.0.0' - type: software title: terra @@ -206,7 +213,7 @@ references: email: r.hijmans@gmail.com orcid: https://orcid.org/0000-0001-5872-2872 year: '2022' - url: https://rspatial.org/terra/ + url: https://CRAN.R-project.org/package=terra version: '>= 1.5-12' - type: software title: tibble @@ -220,6 +227,7 @@ references: given-names: Hadley email: hadley@rstudio.com year: '2022' + url: https://CRAN.R-project.org/package=tibble version: '>= 3.0.0' - type: software title: tidyr @@ -232,6 +240,7 @@ references: - family-names: Girlich given-names: Maximilian year: '2022' + url: https://CRAN.R-project.org/package=tidyr version: '>= 1.0.0' - type: software title: isoband @@ -248,7 +257,7 @@ references: email: thomasp85@gmail.com orcid: https://orcid.org/0000-0002-5147-4711 year: '2022' - url: https://wilkelab.org/isoband/ + url: https://CRAN.R-project.org/package=isoband - type: software title: knitr abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R' @@ -259,7 +268,7 @@ references: email: xie@yihui.name orcid: https://orcid.org/0000-0003-0645-5666 year: '2022' - url: https://yihui.org/knitr/ + url: https://CRAN.R-project.org/package=knitr - type: software title: lifecycle abstract: 'lifecycle: Manage the Life Cycle of your Package Functions' @@ -273,6 +282,7 @@ references: email: hadley@rstudio.com orcid: https://orcid.org/0000-0003-4757-117X year: '2022' + url: https://CRAN.R-project.org/package=lifecycle - type: software title: maptiles abstract: 'maptiles: Download and Display Map Tiles' @@ -283,7 +293,7 @@ references: email: timothee.giraud@cnrs.fr orcid: https://orcid.org/0000-0002-1932-3323 year: '2022' - url: https://github.com/riatelab/maptiles/ + url: https://CRAN.R-project.org/package=maptiles - type: software title: rmarkdown abstract: 'rmarkdown: Dynamic Documents for R' @@ -322,6 +332,7 @@ references: email: rich@rstudio.com orcid: https://orcid.org/0000-0003-3925-190X year: '2022' + url: https://CRAN.R-project.org/package=rmarkdown - type: software title: s2 abstract: 's2: Spherical Geometry Operators Using the S2 Geometry Library' @@ -339,6 +350,7 @@ references: given-names: Ege email: rubak@math.aau.dk year: '2022' + url: https://CRAN.R-project.org/package=s2 - type: software title: testthat abstract: 'testthat: Unit Testing for R' @@ -348,6 +360,7 @@ references: given-names: Hadley email: hadley@rstudio.com year: '2022' + url: https://CRAN.R-project.org/package=testthat version: '>= 3.0.0' - type: software title: tidyverse @@ -358,6 +371,7 @@ references: given-names: Hadley email: hadley@rstudio.com year: '2022' + url: https://CRAN.R-project.org/package=tidyverse - type: software title: vdiffr abstract: 'vdiffr: Visual Regression Testing and Graphical Diffing' @@ -380,3 +394,4 @@ references: given-names: Vaudor email: lise.vaudor@ens-lyon.fr year: '2022' + url: https://CRAN.R-project.org/package=vdiffr diff --git a/R/scales_fill_cross_blended.R b/R/scales_fill_cross_blended.R index d587ef9e..65dd5a41 100644 --- a/R/scales_fill_cross_blended.R +++ b/R/scales_fill_cross_blended.R @@ -32,7 +32,7 @@ #' available palettes, ignoring upper vs. lower case. See #' [cross_blended_hypsometric_tints_db] for more info. Values available are: #' -#' ```{r, echo=FALSE, results="asis"} +#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE} #' #' suppressPackageStartupMessages(library(dplyr)) #' cross_blended_hypsometric_tints_db %>% diff --git a/R/scales_fill_hypso.R b/R/scales_fill_hypso.R index 77100bf5..cae5bfa0 100644 --- a/R/scales_fill_hypso.R +++ b/R/scales_fill_hypso.R @@ -34,7 +34,7 @@ #' available palettes, ignoring upper vs. lower case. See #' [hypsometric_tints_db] for more info. Values available are: #' -#' ```{r, echo=FALSE, results="asis"} +#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE} #' #' suppressPackageStartupMessages(library(dplyr)) #' hypsometric_tints_db %>% diff --git a/R/scales_fill_whitebox.R b/R/scales_fill_whitebox.R index 01a540ad..19e80722 100644 --- a/R/scales_fill_whitebox.R +++ b/R/scales_fill_whitebox.R @@ -20,7 +20,7 @@ #' @param palette A valid palette name. The name is matched to the list of #' available palettes, ignoring upper vs. lower case. Values available are: #' -#' ```{r, echo=FALSE, results="asis"} +#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE} #' #' suppressPackageStartupMessages(library(dplyr)) #' whitebox_coltab %>% diff --git a/R/sysdata.rda b/R/sysdata.rda index 2ee7b8da..eeb35789 100644 Binary files a/R/sysdata.rda and b/R/sysdata.rda differ diff --git a/README.md b/README.md index 865be572..c26cf5d5 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,6 @@ install.packages("tidyterra") You can install the development version of {tidyterra} like so: ``` r - remotes::install_github("dieghernan/tidyterra") ``` @@ -148,7 +147,6 @@ ggplot() + ``` r - # Create maximum differences variation <- rastertemp %>% @@ -184,7 +182,6 @@ ggplot() + {ggplot2} ``` r - f_tile <- system.file("extdata/cyl_tile.tif", package = "tidyterra") rgb_tile <- rast(f_tile) @@ -199,7 +196,6 @@ ggplot() + ``` r - # Recognizes coord_sf() ggplot() + @@ -216,7 +212,6 @@ ggplot() + {ggplot2}: ``` r - asia <- rast(system.file("extdata/asia.tif", package = "tidyterra")) terra::plot(asia) @@ -225,7 +220,6 @@ terra::plot(asia) ``` r - ggplot() + geom_spatraster(data = asia) + scale_fill_hypso_tint_c( diff --git a/codemeta.json b/codemeta.json index 9e6e6d6b..7f889f76 100644 --- a/codemeta.json +++ b/codemeta.json @@ -14,7 +14,7 @@ "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.2.1 (2022-06-23)", + "runtimePlatform": "R version 4.2.1 (2022-06-23 ucrt)", "author": [ { "@type": "Person", @@ -325,7 +325,7 @@ }, "SystemRequirements": null }, - "fileSize": "2868.418KB", + "fileSize": "2883.917KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/data/cross_blended_hypsometric_tints_db.rda b/data/cross_blended_hypsometric_tints_db.rda index 2ee9f939..0515f915 100644 Binary files a/data/cross_blended_hypsometric_tints_db.rda and b/data/cross_blended_hypsometric_tints_db.rda differ diff --git a/data/hypsometric_tints_db.rda b/data/hypsometric_tints_db.rda index 375cd63a..8d7b2f41 100644 Binary files a/data/hypsometric_tints_db.rda and b/data/hypsometric_tints_db.rda differ diff --git a/img/README-example-temp-1.png b/img/README-example-temp-1.png index bc80737f..278e94da 100644 Binary files a/img/README-example-temp-1.png and b/img/README-example-temp-1.png differ diff --git a/img/README-example-temp-2.png b/img/README-example-temp-2.png index 8ce3a698..4c9d1d42 100644 Binary files a/img/README-example-temp-2.png and b/img/README-example-temp-2.png differ diff --git a/img/README-example-tile-1.png b/img/README-example-tile-1.png index 52dcce1d..1b686891 100644 Binary files a/img/README-example-tile-1.png and b/img/README-example-tile-1.png differ diff --git a/img/README-example-tile-2.png b/img/README-example-tile-2.png index dc84b24f..cbb106ab 100644 Binary files a/img/README-example-tile-2.png and b/img/README-example-tile-2.png differ diff --git a/img/README-hypso-1.png b/img/README-hypso-1.png index f9568d15..42ec69d8 100644 Binary files a/img/README-hypso-1.png and b/img/README-hypso-1.png differ diff --git a/img/README-hypso-2.png b/img/README-hypso-2.png index bec785d1..f5fc6ea6 100644 Binary files a/img/README-hypso-2.png and b/img/README-hypso-2.png differ