Skip to content

Commit b18b308

Browse files
committed
Prepare for CRAN
1 parent b8bcb27 commit b18b308

15 files changed

+26
-17
lines changed

CITATION.cff

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ preferred-citation:
3333
abstract: Extension of the tidyverse for SpatRaster and SpatVector objects of the
3434
terra package. It includes also new geom_ functions that provide a convenient
3535
way of visualizing terra objects with ggplot2.
36-
repository: https://CRAN.R-project.org/package=tidyterra
3736
repository-code: https://github.com/dieghernan/tidyterra
3837
url: https://dieghernan.github.io/tidyterra/
3938
contact:
@@ -74,6 +73,7 @@ references:
7473
given-names: Gábor
7574
email: csardi.gabor@gmail.com
7675
year: '2022'
76+
url: https://CRAN.R-project.org/package=cli
7777
version: '>= 3.0.0'
7878
- type: software
7979
title: crayon
@@ -84,7 +84,7 @@ references:
8484
given-names: Gábor
8585
email: csardi.gabor@gmail.com
8686
year: '2022'
87-
url: https://github.com/r-lib/crayon#readme
87+
url: https://CRAN.R-project.org/package=crayon
8888
- type: software
8989
title: data.table
9090
abstract: 'data.table: Extension of `data.frame`'
@@ -97,6 +97,7 @@ references:
9797
given-names: Arun
9898
email: asrini@pm.me
9999
year: '2022'
100+
url: https://CRAN.R-project.org/package=data.table
100101
- type: software
101102
title: dplyr
102103
abstract: 'dplyr: A Grammar of Data Manipulation'
@@ -115,6 +116,7 @@ references:
115116
given-names: Kirill
116117
orcid: https://orcid.org/0000-0002-1416-3412
117118
year: '2022'
119+
url: https://CRAN.R-project.org/package=dplyr
118120
version: '>= 1.0.0'
119121
- type: software
120122
title: ggplot2
@@ -149,6 +151,7 @@ references:
149151
given-names: Dewey
150152
orcid: https://orcid.org/0000-0002-9415-4582
151153
year: '2022'
154+
url: https://CRAN.R-project.org/package=ggplot2
152155
version: '>= 3.1.0'
153156
- type: software
154157
title: magrittr
@@ -162,6 +165,7 @@ references:
162165
given-names: Hadley
163166
email: hadley@rstudio.com
164167
year: '2022'
168+
url: https://CRAN.R-project.org/package=magrittr
165169
- type: software
166170
title: rlang
167171
abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
@@ -174,6 +178,7 @@ references:
174178
given-names: Hadley
175179
email: hadley@rstudio.com
176180
year: '2022'
181+
url: https://CRAN.R-project.org/package=rlang
177182
- type: software
178183
title: scales
179184
abstract: 'scales: Scale Functions for Visualization'
@@ -185,6 +190,7 @@ references:
185190
- family-names: Seidel
186191
given-names: Dana
187192
year: '2022'
193+
url: https://CRAN.R-project.org/package=scales
188194
- type: software
189195
title: sf
190196
abstract: 'sf: Simple Features for R'
@@ -195,6 +201,7 @@ references:
195201
email: edzer.pebesma@uni-muenster.de
196202
orcid: https://orcid.org/0000-0001-8049-7069
197203
year: '2022'
204+
url: https://CRAN.R-project.org/package=sf
198205
version: '>= 1.0.0'
199206
- type: software
200207
title: terra
@@ -206,7 +213,7 @@ references:
206213
email: r.hijmans@gmail.com
207214
orcid: https://orcid.org/0000-0001-5872-2872
208215
year: '2022'
209-
url: https://rspatial.org/terra/
216+
url: https://CRAN.R-project.org/package=terra
210217
version: '>= 1.5-12'
211218
- type: software
212219
title: tibble
@@ -220,6 +227,7 @@ references:
220227
given-names: Hadley
221228
email: hadley@rstudio.com
222229
year: '2022'
230+
url: https://CRAN.R-project.org/package=tibble
223231
version: '>= 3.0.0'
224232
- type: software
225233
title: tidyr
@@ -232,6 +240,7 @@ references:
232240
- family-names: Girlich
233241
given-names: Maximilian
234242
year: '2022'
243+
url: https://CRAN.R-project.org/package=tidyr
235244
version: '>= 1.0.0'
236245
- type: software
237246
title: isoband
@@ -248,7 +257,7 @@ references:
248257
email: thomasp85@gmail.com
249258
orcid: https://orcid.org/0000-0002-5147-4711
250259
year: '2022'
251-
url: https://wilkelab.org/isoband/
260+
url: https://CRAN.R-project.org/package=isoband
252261
- type: software
253262
title: knitr
254263
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
@@ -259,7 +268,7 @@ references:
259268
email: xie@yihui.name
260269
orcid: https://orcid.org/0000-0003-0645-5666
261270
year: '2022'
262-
url: https://yihui.org/knitr/
271+
url: https://CRAN.R-project.org/package=knitr
263272
- type: software
264273
title: lifecycle
265274
abstract: 'lifecycle: Manage the Life Cycle of your Package Functions'
@@ -273,6 +282,7 @@ references:
273282
email: hadley@rstudio.com
274283
orcid: https://orcid.org/0000-0003-4757-117X
275284
year: '2022'
285+
url: https://CRAN.R-project.org/package=lifecycle
276286
- type: software
277287
title: maptiles
278288
abstract: 'maptiles: Download and Display Map Tiles'
@@ -283,7 +293,7 @@ references:
283293
email: timothee.giraud@cnrs.fr
284294
orcid: https://orcid.org/0000-0002-1932-3323
285295
year: '2022'
286-
url: https://github.com/riatelab/maptiles/
296+
url: https://CRAN.R-project.org/package=maptiles
287297
- type: software
288298
title: rmarkdown
289299
abstract: 'rmarkdown: Dynamic Documents for R'
@@ -322,6 +332,7 @@ references:
322332
email: rich@rstudio.com
323333
orcid: https://orcid.org/0000-0003-3925-190X
324334
year: '2022'
335+
url: https://CRAN.R-project.org/package=rmarkdown
325336
- type: software
326337
title: s2
327338
abstract: 's2: Spherical Geometry Operators Using the S2 Geometry Library'
@@ -339,6 +350,7 @@ references:
339350
given-names: Ege
340351
email: rubak@math.aau.dk
341352
year: '2022'
353+
url: https://CRAN.R-project.org/package=s2
342354
- type: software
343355
title: testthat
344356
abstract: 'testthat: Unit Testing for R'
@@ -348,6 +360,7 @@ references:
348360
given-names: Hadley
349361
email: hadley@rstudio.com
350362
year: '2022'
363+
url: https://CRAN.R-project.org/package=testthat
351364
version: '>= 3.0.0'
352365
- type: software
353366
title: tidyverse
@@ -358,6 +371,7 @@ references:
358371
given-names: Hadley
359372
email: hadley@rstudio.com
360373
year: '2022'
374+
url: https://CRAN.R-project.org/package=tidyverse
361375
- type: software
362376
title: vdiffr
363377
abstract: 'vdiffr: Visual Regression Testing and Graphical Diffing'
@@ -380,3 +394,4 @@ references:
380394
given-names: Vaudor
381395
email: lise.vaudor@ens-lyon.fr
382396
year: '2022'
397+
url: https://CRAN.R-project.org/package=vdiffr

R/scales_fill_cross_blended.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#' available palettes, ignoring upper vs. lower case. See
3333
#' [cross_blended_hypsometric_tints_db] for more info. Values available are:
3434
#'
35-
#' ```{r, echo=FALSE, results="asis"}
35+
#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE}
3636
#'
3737
#' suppressPackageStartupMessages(library(dplyr))
3838
#' cross_blended_hypsometric_tints_db %>%

R/scales_fill_hypso.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#' available palettes, ignoring upper vs. lower case. See
3535
#' [hypsometric_tints_db] for more info. Values available are:
3636
#'
37-
#' ```{r, echo=FALSE, results="asis"}
37+
#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE}
3838
#'
3939
#' suppressPackageStartupMessages(library(dplyr))
4040
#' hypsometric_tints_db %>%

R/scales_fill_whitebox.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' @param palette A valid palette name. The name is matched to the list of
2121
#' available palettes, ignoring upper vs. lower case. Values available are:
2222
#'
23-
#' ```{r, echo=FALSE, results="asis"}
23+
#' ```{r, echo=FALSE, results="asis", message = FALSE, warning = FALSE}
2424
#'
2525
#' suppressPackageStartupMessages(library(dplyr))
2626
#' whitebox_coltab %>%

R/sysdata.rda

606 Bytes
Binary file not shown.

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ install.packages("tidyterra")
9898
You can install the development version of {tidyterra} like so:
9999

100100
``` r
101-
102101
remotes::install_github("dieghernan/tidyterra")
103102
```
104103

@@ -148,7 +147,6 @@ ggplot() +
148147

149148
``` r
150149

151-
152150
# Create maximum differences
153151

154152
variation <- rastertemp %>%
@@ -184,7 +182,6 @@ ggplot() +
184182
{ggplot2}
185183

186184
``` r
187-
188185
f_tile <- system.file("extdata/cyl_tile.tif", package = "tidyterra")
189186

190187
rgb_tile <- rast(f_tile)
@@ -199,7 +196,6 @@ ggplot() +
199196
<img src="https://raw.githubusercontent.com/dieghernan/tidyterra/main/img/README-example-tile-1.png" width="100%" />
200197

201198
``` r
202-
203199
# Recognizes coord_sf()
204200

205201
ggplot() +
@@ -216,7 +212,6 @@ ggplot() +
216212
{ggplot2}:
217213

218214
``` r
219-
220215
asia <- rast(system.file("extdata/asia.tif", package = "tidyterra"))
221216

222217
terra::plot(asia)
@@ -225,7 +220,6 @@ terra::plot(asia)
225220
<img src="https://raw.githubusercontent.com/dieghernan/tidyterra/main/img/README-hypso-1.png" width="100%" />
226221

227222
``` r
228-
229223
ggplot() +
230224
geom_spatraster(data = asia) +
231225
scale_fill_hypso_tint_c(

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "R",
1515
"url": "https://r-project.org"
1616
},
17-
"runtimePlatform": "R version 4.2.1 (2022-06-23)",
17+
"runtimePlatform": "R version 4.2.1 (2022-06-23 ucrt)",
1818
"author": [
1919
{
2020
"@type": "Person",
@@ -325,7 +325,7 @@
325325
},
326326
"SystemRequirements": null
327327
},
328-
"fileSize": "2868.418KB",
328+
"fileSize": "2883.917KB",
329329
"citation": [
330330
{
331331
"@type": "SoftwareSourceCode",
-11 Bytes
Binary file not shown.

data/hypsometric_tints_db.rda

1.08 KB
Binary file not shown.

img/README-example-temp-1.png

-287 Bytes
Loading

img/README-example-temp-2.png

688 Bytes
Loading

img/README-example-tile-1.png

-443 Bytes
Loading

img/README-example-tile-2.png

-386 Bytes
Loading

img/README-hypso-1.png

-1.17 KB
Loading

img/README-hypso-2.png

1.99 KB
Loading

0 commit comments

Comments
 (0)