I am trying to print and plot my Landsat data using rast function. I have Landsat data from 3 different paths/rows for one year. When I read my data using the rast function I get an error (Error: [rast] extents do not match). The images have the same projection.
library(terra)
lsat_path <- "D:/my_data/lsat_data/"
lsat_files <- list.files(lsat_path, full.names = TRUE)
lsat <- rast(lsat_files)
Could you please guide me to solve this problem?