Skip to content

Commit f16c8a5

Browse files
Merge branch 'master' of https://github.com/e-sensing/sits
2 parents b4d91a0 + 8c1a7ae commit f16c8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/sits_plot.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ plot.raster_cube <- function(x, ...,
208208
rgb_stack <- c(red_file, green_file, blue_file)
209209
}
210210
# use the raster package to obtain a raster object from a stack
211-
r_obj <- .raster_open_stack.raster(rgb_stack)
211+
r_obj <- .raster_open_stack.terra(rgb_stack)
212212

213213
# extract region of interest
214214
if (!purrr::is_null(roi)) {

0 commit comments

Comments
 (0)