Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Replace rgdal and rgeos with sf/terra/stars #3

Closed
Tracked by #15
dschlaep opened this issue May 13, 2022 · 0 comments
Closed
Tracked by #15

Replace rgdal and rgeos with sf/terra/stars #3

dschlaep opened this issue May 13, 2022 · 0 comments

Comments

@dschlaep
Copy link
Member

dschlaep commented May 13, 2022

'rgdal' and 'rgeos' will be retired by the end of 2023, plan transition to sf/stars/'terra' functions using 'GDAL' and 'PROJ' at your earliest convenience

https://cran.r-project.org/web/packages/rgdal/index.html (since v1.5-25 2021-Sep-07)
https://cran.r-project.org/web/packages/rgeos/index.html (since v0.5-7 2021-Sep-07)

see also https://r-spatial.org/r/2022/04/12/evolution.html

@dschlaep dschlaep changed the title Remove dependencies on rgdal and rgeos Replace rgdal/rgeos/sp/raster with sf/terra/stars Jun 2, 2022
dschlaep added a commit that referenced this issue May 15, 2023
- addressing #3: removing dependency on `rgeos`
- `isoline_from_raster()` now accepts input rasters from the `raster`, `terra`, and `stars` packages
- `isoline_from_raster()` output is now `sf` instead of `sp`
- updated unit tests and documentation
This was referenced May 15, 2023
@dschlaep dschlaep changed the title Replace rgdal/rgeos/sp/raster with sf/terra/stars Replace rgdal and rgeos with sf/terra/stars May 15, 2023
dschlaep added a commit that referenced this issue May 18, 2023
Release/v0.2.0

* Github Actions are triggered for `release/**` branches in addition to `main`.
* `r-lib` Github Actions updated to `v2` (#6; @dschlaep).
* `get_data_dims()` now returns consistently an integer vector.
* Linting updated to `lintr` >= 3 and
  lint workflow switched from package tests to Github Action (#5; @dschlaep).
* `isoline_from_raster()` is now based on the `stars` and `sf` packages
  (removing a dependency on `rgeos`; addressing #3; @dschlaep).
* `variogram_range()` is now based on the `stars` and `sf` packages
  (removing a dependency on `rgdal`; addressing #3; @dschlaep).
* `read_netCDF_as_array()` gains arguments `"time_name"` and `"vertical_name"`
  with previous hard-coded values as defaults ("time" and "vertical")
  (#14; @dschlaep)
* New `get_nc_type()` identifies a suitable netCDF data type from an R object.
* `read_netCDF()` gains argument `"verbose_read"` which, if set to `"FALSE"`,
  attempts to silence communication (messages, warnings, and print statements)
  generated from reading a `netCDF` (#9; @dschlaep).
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant