Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/e-sensing/sits
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertocamara committed Oct 26, 2021
2 parents b4d91a0 + 8c1a7ae commit f16c8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sits_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ plot.raster_cube <- function(x, ...,
rgb_stack <- c(red_file, green_file, blue_file)
}
# use the raster package to obtain a raster object from a stack
r_obj <- .raster_open_stack.raster(rgb_stack)
r_obj <- .raster_open_stack.terra(rgb_stack)

# extract region of interest
if (!purrr::is_null(roi)) {
Expand Down

0 comments on commit f16c8a5

Please sign in to comment.