Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [22s/38s]
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: https://sen2r.ranghetti.info
  
  IMPORTANT: since November 2023, SAFE archives can no longer
  be downloaded from the ESA Hub, so Google Cloud is the new default server.
  To be able to search and download inputs: 
  - install Google Cloud SDK (https://cloud.google.com/sdk/docs/install);
  - configure sen2r to use Google Cloud SDK launching the function:
   > check_gcloud()
  > 
  > test_check("sen2r")
  trying to read file: /home/hornik/tmp/scratch/RtmpBTvPlb/out_test7_1da06a54e75b1/BOA/S2A2A_20190723_022_Barbellino_BOA_10.tif
  
  
  
  
  [ FAIL 2 | WARN 0 | SKIP 35 | PASS 211 ]
  
  ══ Skipped tests (35) ══════════════════════════════════════════════════════════
  • Full tests disabled (16): 'test-gdal_warp.R:38:5', 'test-gdal_warp.R:73:5',
    'test-gdal_warp.R:102:5', 'test-gdal_warp.R:132:5', 'test-gdal_warp.R:186:5',
    'test-gdal_warp.R:215:5', 'test-gdal_warp.R:249:5', 'test-gdal_warp.R:283:5',
    'test-gdal_warp.R:316:5', 'test-gdal_warp.R:346:5', 'test-gdal_warp.R:376:5',
    'test-gdal_warp.R:406:5', 'test-s2_calcindices.R:50:5',
    'test-s2_calcindices.R:105:5', 'test-s2_mask.R:38:5', 'test-s2_rgb.R:45:5'
  • On CRAN (19): 'test-abs2rel.R:2:1', 'test-check_gcloud.R:2:1',
    'test-load_binpaths.R:2:1', 'test-mountpoint.R:2:1',
    'test-s2_calcindices.R:116:1', 'test-s2_download.R:2:1',
    'test-s2_list.R:2:1', 'test-s2_mask.R:85:1', 'test-s2_order.R:2:1',
    'test-safelist-class.R:2:1', 'test-scihub_login.R:2:1', 'test-sen2cor.R:2:1',
    'test-sen2r-00_connection.R:2:1', 'test-sen2r-01_merge.R:2:1',
    'test-sen2r-02_warp.R:2:1', 'test-sen2r-03_mask.R:2:1',
    'test-sen2r-04_indices.R:2:1', 'test-sen2r-05_rgb.R:2:1',
    'test-sen2r-06_ignorelist.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-gdal_warp.R:203:5'): Reproject using tap ─────────────────────
  exp_meta_r$size not equal to c(x = 28, y = 45).
  1/2 mismatches
  [2] 44 - 45 == -1
  ── Failure ('test-gdal_warp.R:206:5'): Reproject using tap ─────────────────────
  as.numeric(exp_meta_r$bbox) not equal to c(1044530, 5125320, 1044810, 5125770).
  1/4 mismatches
  [2] 5125330 - 5125320 == 10
  
  [ FAIL 2 | WARN 0 | SKIP 35 | PASS 211 ]
  Error: Test failures
  Execution halted