## 'character' input (i.e. filenames)
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
satellite(files)
## raster::RasterStack input
satellite(l8)
Run the code above in your browser using DataLab