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()
  
}
ranghetti/sen2r documentation built on March 27, 2024, 10:30 p.m.