Skip to content

Commit 2ab5ef1

Browse files
authored
Update grass.r
1 parent a683307 commit 2ab5ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/grass.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#' @param x A single vector layer name to read
5959
#' @keywords internal
6060
.read_rasters = function(layers, file) {
61-
suppressWarnings(val <- rgrass::readRAST(l))
61+
suppressWarnings(val <- rgrass::read_RAST(l))
6262
ras = sapply(layers, function(l) {
6363
raster::raster(val)})
6464
if(length(layers) > 1) {

0 commit comments

Comments
 (0)