Skip to content

Commit

Permalink
feat!: switch to terra in DEMrelatedInput()
Browse files Browse the repository at this point in the history
  • Loading branch information
gisler authored Nov 18, 2023
1 parent d5dd9eb commit c0578e8
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 107 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Imports:
checkmate,
graphics,
methods,
raster (>= 3.6.3),
Rcpp,
stats,
terra,
Expand All @@ -36,7 +35,6 @@ Imports:
Suggests:
knitr,
rmarkdown,
sp,
tinytest,
whitebox (>= 2.0.0)
LinkingTo:
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ exportMethods(transportCalcOrder)
exportMethods(transportPrerequisites)
import(checkmate)
import(methods)
import(raster)
import(terra)
importFrom(Rcpp,sourceCpp)
importFrom(graphics,abline)
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RPhosFate v1.0.4.9000

* Switched to utilising the `SpatRaster` class from the `terra` package instead of the `RasterLayer` class from the `raster` package. However, the transition from `raster` to `terra` encompasses only the core and not `DEMrelatedInput()` yet.
* Switched to utilising the `SpatRaster` and `SpatVector` classes from the `terra` package instead of the `RasterLayer` class from the `raster` and the `Spatial*DataFrame` classes from the `sp` packages.
* Added `is_ths` argument to `RPhosFate()` and `catchment()` constructors: allows for specifying the number of threads to use for processing.
* Ceased support for _ERDAS IMAGINE_ (\*.img) raster files. `img2tif()` can be used to convert all _ERDAS IMAGINE_ raster files in a directory and its subdirectories into _GeoTIFF_ raster files.
* Dropped backward compatibility to major version zero.
Expand Down
1 change: 0 additions & 1 deletion R/aaa.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#' @import checkmate
#' @import methods
#' @import raster
#' @import terra
#' @importFrom graphics abline clip par
#' @importFrom Rcpp sourceCpp
Expand Down
Loading

0 comments on commit c0578e8

Please sign in to comment.