tests/testthat/setup-dependencies.R

if (identical(Sys.getenv("NOT_CRAN"), "true")) {
  
  # Install or check internal dependencies
  # install_sen2cor()
  # if (Sys.info()["sysname"] == "Windows") {sen2r::install_aria2()}
  if (full_tests) {
  if (Sys.info()["sysname"] == "Linux") {sen2r::check_gdal()}
  check_gcloud(force = TRUE, abort = FALSE)
  }  
  s2tiles <- s2_tiles()
  
}

Try the sen2r package in your browser

Any scripts or data that you put into this service are public.

sen2r documentation built on Nov. 10, 2023, 9:08 a.m.