Repository navigation
Migrate from raster to terra and fix CRAN archival failure #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
127c8c2
migrate package from raster to terra and rename dem_lisbon dataset
temospena ffb8f19
migrate dem_lisbon function from zzz.R to data.R #60
temospena 8232b7f
remove deprecated output_format argument from elevation_get
temospena 153d6ae
update data documentation source and remove deprecated output_format …
temospena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,26 @@ | ||
| Updated with DOI not journal's URL. | ||
| # slopes 1.0.2 — CRAN resubmission after archival | ||
|
|
||
| Removed the CRAN-SUBMISSIONS file. | ||
| ## Summary of changes | ||
|
|
||
| Updated references based on feedback from manual CRAN checks. | ||
| The package was archived on 2026-05-24 due to a CRAN check failure (#72). | ||
| This submission fixes that issue and also resolves the long-standing issue #60 | ||
| (migrate from the deprecated `raster` package to `terra`). | ||
|
|
||
| We have updated the URLs to comply with CRAN feedback | ||
| ### Key changes: | ||
| - **Migrated from `raster` to `terra`** (closes #60): `raster` is no longer | ||
| developed and was removed from `Imports`. `terra` is now the sole raster | ||
| dependency. | ||
| - **Fixed CRAN `--run-donttest` failure** (closes #72): The | ||
| `elevation_add()` example that triggered `ceramic`/Mapbox downloads is now | ||
| wrapped in `\dontrun{}` instead of `\donttest{}`. | ||
| - The bundled DEM dataset has been renamed from `dem_lisbon_raster` (a | ||
| `RasterLayer`) to `dem_lisbon()` (a function returning a `SpatRaster`). | ||
| terra rasters cannot be serialised to `.rda`; shipping as a `.tif` in | ||
| `inst/` and exposing via an accessor function is the recommended pattern. | ||
|
|
||
| Exported `plot_dz()` to avoid using ::: in examples | ||
| ## R CMD check results (local, --as-cran) | ||
|
|
||
| ## R CMD check results | ||
| 0 errors | 0 warnings | 0 notes | ||
|
|
||
| 0 errors | 0 warnings | 1 note | ||
|
|
||
| * This is a new release. | ||
| Tested on: | ||
| - Linux (Ubuntu 24.04), R 4.6.x |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍