Skip to content

Commit

Permalink
Prepare CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Feb 3, 2025
1 parent 6ddfdfd commit d695e4d
Show file tree
Hide file tree
Showing 9 changed files with 135 additions and 115 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "tidyterra" in publications use:'
type: software
license: MIT
title: 'tidyterra: ''tidyverse'' Methods and ''ggplot2'' Helpers for ''terra'' Objects'
version: 0.6.2.9000
version: 0.7.0
doi: 10.21105/joss.05751
identifiers:
- type: doi
Expand Down
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' Helpers for 'terra' Objects
Version: 0.6.2.9000
Version: 0.7.0
Authors@R: c(
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658")),
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tidyterra (development version)
# tidyterra 0.7.0

- Minimal version of **terra** required is `1.8-10`.
- Remove **metR** from Suggests.
Expand All @@ -14,7 +14,7 @@
with different layer classes: if several layers can be defined as numeric
(i.e. `double`, `integer` and `numeric`) the pivoting (and therefore the
plot) can be performed. This is consistent with `tidyr::pivot_longer()`
behaviour (<https://stackoverflow.com/questions/79292989>).
behavior (<https://stackoverflow.com/questions/79292989>).

# tidyterra 0.6.2

Expand Down
56 changes: 28 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,34 +86,34 @@ object, (for example, `as_tibble()` would return a `tibble`).

Current methods and functions provided by **tidyterra** are:

| tidyverse method | `SpatVector` | `SpatRaster` |
|---------------------------------------------|-----------------------------------------------|------------------------------------------------------------------------------------------------|
| `tibble::as_tibble()` | ✔️ | ✔️ |
| `dplyr::select()` | ✔️ | ✔️ Select layers |
| `dplyr::mutate()` | ✔️ | ✔️ Create /modify layers |
| `dplyr::transmute()` | ✔️ | ✔️ |
| `dplyr::filter()` | ✔️ | ✔️ Modify cells values and (additionally) remove outer cells. |
| `dplyr::slice()` | ✔️ | ✔️ Additional methods for slicing by row and column. |
| `dplyr::pull()` | ✔️ | ✔️ |
| `dplyr::rename()` | ✔️ | ✔️ |
| `dplyr::relocate()` | ✔️ | ✔️ |
| `dplyr::distinct()` | ✔️ | |
| `dplyr::arrange()` | ✔️ | |
| `dplyr::glimpse()` | ✔️ | ✔️ |
| `dplyr::inner_join()` family | ✔️ | |
| `dplyr::summarise()` | ✔️ | |
| `dplyr::group_by()` family | ✔️ | |
| `dplyr::rowwise()` | ✔️ | |
| `dplyr::count()`, `tally()` | ✔️ | |
| `dplyr::bind_cols()` / `dplyr::bind_rows()` | ✔️ as `bind_spat_cols()` / `bind_spat_rows()` | |
| `tidyr::drop_na()` | ✔️ | ✔️ Remove cell values with `NA` on any layer. Additionally, outer cells with `NA` are removed. |
| `tidyr::replace_na()` | ✔️ | ✔️ |
| `tidyr::fill()` | ✔️ | |
| `tidyr::pivot_longer()` | ✔️ | |
| `tidyr::pivot_wider()` | ✔️ | |
| `ggplot2::autoplot()` | ✔️ | ✔️ |
| `ggplot2::fortify()` | ✔️ to **sf** via `sf::st_as_sf()` | To a **tibble** with coordinates. |
| `ggplot2::geom_*()` | ✔️ `geom_spatvector()` | ✔️ `geom_spatraster()` and `geom_spatraster_rgb()`. |
| tidyverse method | `SpatVector` | `SpatRaster` |
|----|----|----|
| `tibble::as_tibble()` | ✔️ | ✔️ |
| `dplyr::select()` | ✔️ | ✔️ Select layers |
| `dplyr::mutate()` | ✔️ | ✔️ Create /modify layers |
| `dplyr::transmute()` | ✔️ | ✔️ |
| `dplyr::filter()` | ✔️ | ✔️ Modify cells values and (additionally) remove outer cells. |
| `dplyr::slice()` | ✔️ | ✔️ Additional methods for slicing by row and column. |
| `dplyr::pull()` | ✔️ | ✔️ |
| `dplyr::rename()` | ✔️ | ✔️ |
| `dplyr::relocate()` | ✔️ | ✔️ |
| `dplyr::distinct()` | ✔️ | |
| `dplyr::arrange()` | ✔️ | |
| `dplyr::glimpse()` | ✔️ | ✔️ |
| `dplyr::inner_join()` family | ✔️ | |
| `dplyr::summarise()` | ✔️ | |
| `dplyr::group_by()` family | ✔️ | |
| `dplyr::rowwise()` | ✔️ | |
| `dplyr::count()`, `tally()` | ✔️ | |
| `dplyr::bind_cols()` / `dplyr::bind_rows()` | ✔️ as `bind_spat_cols()` / `bind_spat_rows()` | |
| `tidyr::drop_na()` | ✔️ | ✔️ Remove cell values with `NA` on any layer. Additionally, outer cells with `NA` are removed. |
| `tidyr::replace_na()` | ✔️ | ✔️ |
| `tidyr::fill()` | ✔️ | |
| `tidyr::pivot_longer()` | ✔️ | |
| `tidyr::pivot_wider()` | ✔️ | |
| `ggplot2::autoplot()` | ✔️ | ✔️ |
| `ggplot2::fortify()` | ✔️ to **sf** via `sf::st_as_sf()` | To a **tibble** with coordinates. |
| `ggplot2::geom_*()` | ✔️ `geom_spatvector()` | ✔️ `geom_spatraster()` and `geom_spatraster_rgb()`. |

## :exclamation: A note on performance

Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/dieghernan/tidyterra",
"issueTracker": "https://github.com/dieghernan/tidyterra/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.6.2.9000",
"version": "0.7.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -332,7 +332,7 @@
"SystemRequirements": null
},
"keywords": ["r", "terra", "ggplot-extension", "r-spatial", "rspatial", "cran", "cran-r", "r-package", "rstats", "rstats-package"],
"fileSize": "2412.954KB",
"fileSize": "2408.355KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
2 changes: 1 addition & 1 deletion inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
"version": "0.6.2.9000"
"version": "0.7.0"
}
124 changes: 63 additions & 61 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,71 +1,73 @@
# Platform

|field |value |
|:--------|:------------------------------------------------------|
|version |R version 4.4.2 (2024-10-31) |
|os |Ubuntu 24.04.1 LTS |
|system |x86_64, linux-gnu |
|ui |X11 |
|language |(EN) |
|collate |C.UTF-8 |
|ctype |C.UTF-8 |
|tz |UTC |
|date |2025-01-23 |
|pandoc |3.1.11 @ /opt/hostedtoolcache/pandoc/3.1.11/x64/pandoc |
|field |value |
|:--------|:----------------------------------------|
|version |R version 4.4.2 (2024-10-31 ucrt) |
|os |Windows 11 x64 (build 26100) |
|system |x86_64, mingw32 |
|ui |RStudio |
|language |(EN) |
|collate |Spanish_Spain.utf8 |
|ctype |Spanish_Spain.utf8 |
|tz |Europe/Madrid |
|date |2025-02-03 |
|rstudio |2024.12.0+467 Kousa Dogwood (desktop) |
|pandoc |3.1.12.2 @ C:\PROGRA~1\Pandoc\pandoc.exe |

# Dependencies

|package |old |new |Δ |
|:------------|:------|:----------|:--|
|tidyterra |0.6.2 |0.6.2.9000 |* |
|classInt |0.4-11 |0.4-11 | |
|cli |3.6.3 |3.6.3 | |
|colorspace |2.1-1 |2.1-1 | |
|cpp11 |0.5.1 |0.5.1 | |
|data.table |1.16.4 |1.16.4 | |
|DBI |1.2.3 |1.2.3 | |
|dplyr |1.1.4 |1.1.4 | |
|e1071 |1.7-16 |1.7-16 | |
|fansi |1.0.6 |1.0.6 | |
|farver |2.1.2 |2.1.2 | |
|generics |0.1.3 |0.1.3 | |
|ggplot2 |3.5.1 |3.5.1 | |
|glue |1.8.0 |1.8.0 | |
|gtable |0.3.6 |0.3.6 | |
|isoband |0.2.7 |0.2.7 | |
|labeling |0.4.3 |0.4.3 | |
|lifecycle |1.0.4 |1.0.4 | |
|magrittr |2.0.3 |2.0.3 | |
|munsell |0.5.1 |0.5.1 | |
|pillar |1.10.1 |1.10.1 | |
|pkgconfig |2.0.3 |2.0.3 | |
|proxy |0.4-27 |0.4-27 | |
|purrr |1.0.2 |1.0.2 | |
|R6 |2.5.1 |2.5.1 | |
|RColorBrewer |1.1-3 |1.1-3 | |
|Rcpp |1.0.14 |1.0.14 | |
|rlang |1.1.5 |1.1.5 | |
|s2 |1.1.7 |1.1.7 | |
|scales |1.3.0 |1.3.0 | |
|sf |1.0-19 |1.0-19 | |
|stringi |1.8.4 |1.8.4 | |
|stringr |1.5.1 |1.5.1 | |
|terra |1.8-10 |1.8-10 | |
|tibble |3.2.1 |3.2.1 | |
|tidyr |1.3.1 |1.3.1 | |
|tidyselect |1.2.1 |1.2.1 | |
|units |0.8-5 |0.8-5 | |
|utf8 |1.2.4 |1.2.4 | |
|vctrs |0.6.5 |0.6.5 | |
|viridisLite |0.4.2 |0.4.2 | |
|withr |3.0.2 |3.0.2 | |
|wk |0.9.4 |0.9.4 | |
|package |old |new |Δ |
|:------------|:------|:------|:--|
|tidyterra |0.6.2 |0.7.0 |* |
|classInt |0.4-11 |0.4-11 | |
|cli |3.6.3 |3.6.3 | |
|colorspace |2.1-1 |2.1-1 | |
|cpp11 |0.5.1 |0.5.1 | |
|data.table |1.16.4 |1.16.4 | |
|DBI |1.2.3 |1.2.3 | |
|dplyr |1.1.4 |1.1.4 | |
|e1071 |1.7-16 |1.7-16 | |
|fansi |1.0.6 |1.0.6 | |
|farver |2.1.2 |2.1.2 | |
|generics |0.1.3 |0.1.3 | |
|ggplot2 |3.5.1 |3.5.1 | |
|glue |1.8.0 |1.8.0 | |
|gtable |0.3.6 |0.3.6 | |
|isoband |0.2.7 |0.2.7 | |
|labeling |0.4.3 |0.4.3 | |
|lifecycle |1.0.4 |1.0.4 | |
|magrittr |2.0.3 |2.0.3 | |
|munsell |0.5.1 |0.5.1 | |
|pillar |1.10.1 |1.10.1 | |
|pkgconfig |2.0.3 |2.0.3 | |
|proxy |0.4-27 |0.4-27 | |
|purrr |1.0.2 |1.0.2 | |
|R6 |2.5.1 |2.5.1 | |
|RColorBrewer |1.1-3 |1.1-3 | |
|Rcpp |1.0.14 |1.0.14 | |
|rlang |1.1.5 |1.1.5 | |
|s2 |1.1.7 |1.1.7 | |
|scales |1.3.0 |1.3.0 | |
|sf |1.0-19 |1.0-19 | |
|stringi |1.8.4 |1.8.4 | |
|stringr |1.5.1 |1.5.1 | |
|terra |1.8-15 |1.8-15 | |
|tibble |3.2.1 |3.2.1 | |
|tidyr |1.3.1 |1.3.1 | |
|tidyselect |1.2.1 |1.2.1 | |
|units |0.8-5 |0.8-5 | |
|utf8 |1.2.4 |1.2.4 | |
|vctrs |0.6.5 |0.6.5 | |
|viridisLite |0.4.2 |0.4.2 | |
|withr |3.0.2 |3.0.2 | |
|wk |0.9.4 |0.9.4 | |

# Revdeps

## Failed to check (1)
## Failed to check (2)

|package |version |error |warning |note |
|:-------|:-------|:-----|:-------|:----|
|ebvcube |? | | | |
|package |version |error |warning |note |
|:--------------|:-------|:-----|:-------|:----|
|disaggregation |0.4.0 |1 | |1 |
|tidysdm |0.9.5 |1 | | |

10 changes: 8 additions & 2 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
## revdepcheck results

We checked 25 reverse dependencies (0 from CRAN + 25 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
We checked 25 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
* We failed to check 2 packages

Issues with CRAN packages are summarised below.

### Failed to check

* disaggregation (NA)
* tidysdm (NA)
46 changes: 29 additions & 17 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,45 @@
# ebvcube
# disaggregation

<details>

* Version:
* GitHub: https://github.com/dieghernan/tidyterra
* Source code: NA
* Number of recursive dependencies: 0

</details>

## Error before installation

### Devel

```
* Version: 0.4.0
* GitHub: NA
* Source code: https://github.com/cran/disaggregation
* Date/Publication: 2024-10-02 20:40:03 UTC
* Number of recursive dependencies: 100

Run `revdepcheck::revdep_details(, "disaggregation")` for more info

</details>

## In both

* R CMD check timed out


* checking installed package size ... NOTE
```
installed size is 13.4Mb
sub-directories of 1Mb or more:
libs 12.8Mb
```
```
### CRAN
# tidysdm
```
<details>
* Version: 0.9.5
* GitHub: https://github.com/EvolEcolGroup/tidysdm
* Source code: https://github.com/cran/tidysdm
* Date/Publication: 2024-06-23 19:40:02 UTC
* Number of recursive dependencies: 180
Run `revdepcheck::revdep_details(, "tidysdm")` for more info
</details>
## In both
* R CMD check timed out
```

0 comments on commit d695e4d

Please sign in to comment.