- using R Under development (unstable) (2023-12-02 r85657)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 17.0.5 (1)
Debian flang-new version 17.0.5 (1)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘sen2r/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sen2r’ version ‘1.6.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘sen2r’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [15s/19s] OK
- checking whether the package can be loaded with stated dependencies ... [13s/17s] OK
- checking whether the package can be unloaded cleanly ... [14s/17s] OK
- checking whether the namespace can be loaded with stated dependencies ... [14s/17s] OK
- checking whether the namespace can be unloaded cleanly ... [14s/19s] OK
- checking loading without being on the library search path ... [14s/17s] OK
- checking whether startup messages can be suppressed ... [15s/18s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [106s/138s] OK
- checking Rd files ... [2s/3s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [16s/23s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [30s/41s] ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [29s/40s]
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: /tmp/RtmpGiKCP3/out_test7_1d1e1fadb6748/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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [4s/5s] OK
- checking PDF version of manual ... [13s/20s] OK
- checking HTML version of manual ... [5s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR