Skip to content

Commit

Permalink
gdalUtilities not used, rm stop()
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Sep 19, 2023
1 parent ebce421 commit c4bf76b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Description: Utilities for 'LandR' suite of landscape simulation models.
URL:
https://landr.predictiveecology.org,
https://github.com/PredictiveEcology/LandR
Date: 2023-09-06
Version: 1.1.0.9062
Date: 2023-09-19
Version: 1.1.0.9063
Authors@R: c(
person("Eliot J B", "McIntire", email = "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6914-8316")),
Expand Down Expand Up @@ -60,7 +60,6 @@ Suggests:
fasterize,
future,
future.apply,
gdalUtilities,
googledrive (>= 2.0.0),
httr,
knitr,
Expand Down
8 changes: 4 additions & 4 deletions R/maps.R
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ overlayStacks <- function(highQualityStack, lowQualityStack, outputFilenameSuffi
#' @keywords internal
.overlay <- function(SPP, HQ, LQ, hqLarger, highQualityStack, lowQualityStack, #nolint
outputFilenameSuffix = "overlay", destinationPath) {
if (requireNamespace("gdalUtilities", quietly = TRUE)) {
# if (requireNamespace("gdalUtilities", quietly = TRUE)) {
## if HQ & LQ have data, pool
if (HQ & LQ) {
## check equality of raster attributes and correct if necessary
Expand Down Expand Up @@ -1142,9 +1142,9 @@ overlayStacks <- function(highQualityStack, lowQualityStack, outputFilenameSuffi
return(HQRast)
}
}
} else {
stop("Package 'gdalUtilities' is required but not installed.")
}
# } else {
# stop("Package 'gdalUtilities' is required but not installed.")
# }
}

#' Merge species percent-cover rasters
Expand Down

0 comments on commit c4bf76b

Please sign in to comment.