Running 'spelling.R' [0s]
  Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sen2r)
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Warning: namespace 'rgdal' is not available and has been replaced
  by .GlobalEnv when processing object ''
  Welcome to sen2r. To use the package from a GUI, launch
   > sen2r()
  Documentation: http://sen2r.ranghetti.info
  
  IMPORTANT: sen2r depends on some external tools;
  before using it, it is strongly recommended to run function
   > check_sen2r_deps()
  to check them and install the missing ones.
  > 
  > test_check("sen2r")
  Error : GET https://scihub.copernicus.eu/apihub/
  -- 1. Error: st_crs2, input WKT (@test-t34_st_crs2.R#14)  ----------------------
  package 'rgdal' not found
  Backtrace:
   1. sen2r:::st_as_text_2(st_crs(32609))
   2. utils::packageVersion("rgdal")
  
  -- 2. Error: st_crs2, input spatial file path (@test-t34_st_crs2.R#34)  --------
  Cannot create RasterLayer object from this file; perhaps you need to install rgdal first
  Backtrace:
   1. testthat::expect_equal(...)
   6. raster::raster(raster_path)
   7. raster:::.local(x, ...)
   8. raster:::.rasterObjectFromFile(...)
  
  == testthat results  ===========================================================
  [ OK: 53 | SKIPPED: 18 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: st_crs2, input WKT (@test-t34_st_crs2.R#14) 
  2. Error: st_crs2, input spatial file path (@test-t34_st_crs2.R#34) 
  
  Error: testthat unit tests failed
  Execution halted