Running ‘spelling.R’
  Running ‘testthat.R’ [10s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sen2r)
  Welcome to sen2r. To use the package from a GUI, launch
   > sen2r()
  Documentation: http://sen2r.ranghetti.info
  
  > 
  > test_check("sen2r")
  Error : GET https://scihub.copernicus.eu/apihub/
  ── 1. Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#5)  ────────────────────
  st_crs2(9)[["epsg"]] not equal to 32609.
  target is NULL, current is numeric
  
  ── 2. Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#6)  ────────────────────
  st_crs2("EPSG:32609")[["epsg"]] not equal to 32609.
  target is NULL, current is numeric
  
  ── 3. Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#7)  ────────────────────
  st_crs2("9N")[["epsg"]] not equal to 32609.
  target is NULL, current is numeric
  
  ── 4. Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#8)  ────────────────────
  st_crs2("9S")[["epsg"]] not equal to 32709.
  target is NULL, current is numeric
  
  ── 5. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#22)  ──────
  st_crs2(raster_path)[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ── 6. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#23)  ──────
  st_crs2(vector_path)[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ── 7. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#24)  ──────
  st_crs2(stars::read_stars(raster_path))[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ── 8. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#25)  ──────
  st_crs2(raster::raster(raster_path))[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ── 9. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#26)  ──────
  st_crs2(sf::read_sf(vector_path))[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ── 10. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#27)  ─────
  st_crs2(as(sf::read_sf(vector_path), "Spatial"))[["epsg"]] not equal to 32632.
  target is NULL, current is numeric
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 46 | SKIPPED: 18 | WARNINGS: 0 | FAILED: 10 ]
  1.  Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#5) 
  2.  Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#6) 
  3.  Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#7) 
  4.  Failure: st_crs2, input EPSG (@test-t34_st_crs2.R#8) 
  5.  Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#22) 
  6.  Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#23) 
  7.  Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#24) 
  8.  Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#25) 
  9.  Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#26) 
  10. Failure: st_crs2, input spatial file path (@test-t34_st_crs2.R#27) 
  
  Error: testthat unit tests failed
  Execution halted