Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Sep 28, 2022
1 parent 66ab95d commit 69dc065
Show file tree
Hide file tree
Showing 25 changed files with 30 additions and 20 deletions.
32 changes: 24 additions & 8 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.2.3
# CITATION file created with {cffr} R package, v0.3.0
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------

Expand All @@ -8,7 +8,7 @@ message: 'To cite package "tidyterra" in publications use:'
type: software
license: MIT
title: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Utils for ''terra'' Objects'
version: 0.2.1.9000
version: 0.2.2
doi: 10.5281/zenodo.6572471
abstract: Extension of the 'tidyverse' for 'SpatRaster' and 'SpatVector' objects of
the 'terra' package. It includes also new 'geom_' functions that provide a convenient
Expand All @@ -28,7 +28,7 @@ preferred-citation:
orcid: https://orcid.org/0000-0001-8457-4658
doi: 10.5281/zenodo.6572471
year: '2022'
version: 0.2.1.9000
version: 0.2.2
url: https://dieghernan.github.io/tidyterra/
abstract: Extension of the tidyverse for SpatRaster and SpatVector objects of the
terra package. It includes also new geom_ functions that provide a convenient
Expand Down Expand Up @@ -71,6 +71,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: 'R: A Language and Environment for Statistical Computing'
Expand All @@ -96,6 +97,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=tibble
version: '>= 3.0.0'
- type: software
title: tidyr
Expand All @@ -108,6 +110,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: cli
Expand All @@ -118,6 +121,7 @@ references:
given-names: Gábor
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=cli
version: '>= 3.0.0'
- type: software
title: crayon
Expand All @@ -128,7 +132,7 @@ references:
given-names: Gábor
email: [email protected]
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`'
Expand All @@ -141,6 +145,7 @@ references:
given-names: Arun
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=data.table
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
Expand Down Expand Up @@ -174,6 +179,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
Expand All @@ -187,6 +193,7 @@ references:
given-names: Hadley
email: [email protected]
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'
Expand All @@ -199,6 +206,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=rlang
- type: software
title: scales
abstract: 'scales: Scale Functions for Visualization'
Expand All @@ -210,6 +218,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'
Expand All @@ -220,6 +229,7 @@ references:
email: [email protected]
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
Expand All @@ -231,7 +241,7 @@ references:
email: [email protected]
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: isoband
Expand All @@ -248,7 +258,7 @@ references:
email: [email protected]
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'
Expand All @@ -259,7 +269,7 @@ references:
email: [email protected]
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'
Expand All @@ -273,6 +283,7 @@ references:
email: [email protected]
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'
Expand All @@ -283,7 +294,7 @@ references:
email: [email protected]
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'
Expand Down Expand Up @@ -322,6 +333,7 @@ references:
email: [email protected]
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'
Expand All @@ -339,6 +351,7 @@ references:
given-names: Ege
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=s2
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
Expand All @@ -348,6 +361,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=testthat
version: '>= 3.0.0'
- type: software
title: tidyverse
Expand All @@ -358,6 +372,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=tidyverse
- type: software
title: vdiffr
abstract: 'vdiffr: Visual Regression Testing and Graphical Diffing'
Expand All @@ -380,3 +395,4 @@ references:
given-names: Vaudor
email: [email protected]
year: '2022'
url: https://CRAN.R-project.org/package=vdiffr
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyterra
Title: 'tidyverse' Methods and 'ggplot2' Utils for 'terra' Objects
Version: 0.2.1.9000
Version: 0.2.2
Authors@R: c(
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tidyterra (development version)
# tidyterra 0.2.2

- Changes on how **dplyr**, **tibble** and **tidyr** are attached. Now these
packages are listed on 'Depends' and are attached before **tidyterra** when
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ install.packages("tidyterra")
You can install the development version of {tidyterra} like so:

``` r

remotes::install_github("dieghernan/tidyterra")
```

Expand Down Expand Up @@ -148,7 +147,6 @@ ggplot() +

``` r


# Create maximum differences

variation <- rastertemp %>%
Expand Down Expand Up @@ -184,7 +182,6 @@ ggplot() +
{ggplot2}

``` r

f_tile <- system.file("extdata/cyl_tile.tif", package = "tidyterra")

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

``` r

# Recognizes coord_sf()

ggplot() +
Expand All @@ -216,7 +212,6 @@ ggplot() +
{ggplot2}:

``` r

asia <- rast(system.file("extdata/asia.tif", package = "tidyterra"))

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

``` r

ggplot() +
geom_spatraster(data = asia) +
scale_fill_hypso_tint_c(
Expand Down Expand Up @@ -268,7 +262,7 @@ A BibTeX entry for LaTeX users is
doi = {10.5281/zenodo.6572471},
author = {Diego Hernangómez},
year = {2022},
version = {0.2.1.9000},
version = {0.2.2},
url = {https://dieghernan.github.io/tidyterra/},
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.},
}
Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/dieghernan/tidyterra",
"issueTracker": "https://github.com/dieghernan/tidyterra/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.2.1.9000",
"version": "0.2.2",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.0 (2022-04-22)",
"runtimePlatform": "R version 4.2.1 (2022-06-23 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -331,7 +331,7 @@
},
"SystemRequirements": null
},
"fileSize": "3551.303KB",
"fileSize": "3469.542KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified data/cross_blended_hypsometric_tints_db.rda
Binary file not shown.
Binary file modified data/hypsometric_tints_db.rda
Binary file not shown.
Binary file modified data/volcano2.rda
Binary file not shown.
Binary file modified img/README-example-temp-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-example-temp-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-example-tile-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-example-tile-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-hypso-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-hypso-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/full_spatvector-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/hypso-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/lux_ggplot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/rgb-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/rgb-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/terra_sf-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/terra_sf-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/terraplots-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/terraplots-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/terraplots-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 69dc065

Please sign in to comment.