Last updated on 2021-03-04 00:48:09 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.4.1 | 26.74 | 266.77 | 293.51 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.4.1 | 23.26 | 211.17 | 234.43 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.4.1 | 383.48 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.4.1 | 373.38 | OK | |||
r-devel-windows-ix86+x86_64 | 1.4.0 | 52.00 | 323.00 | 375.00 | ERROR | |
r-patched-linux-x86_64 | 1.4.0 | 26.36 | 254.57 | 280.93 | ERROR | |
r-patched-solaris-x86 | 1.4.1 | 569.70 | OK | |||
r-release-linux-x86_64 | 1.4.0 | 24.41 | 254.13 | 278.54 | ERROR | |
r-release-macos-x86_64 | 1.4.0 | OK | ||||
r-release-windows-ix86+x86_64 | 1.4.0 | 52.00 | 267.00 | 319.00 | OK | |
r-oldrel-macos-x86_64 | 1.4.1 | ERROR | ||||
r-oldrel-windows-ix86+x86_64 | 1.4.0 | 59.00 | 347.00 | 406.00 | ERROR |
Version: 1.4.1
Check: examples
Result: ERROR
Running examples in 'sen2r-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: read_scihub_login
> ### Title: Import / export / check SciHub username and password
> ### Aliases: read_scihub_login check_scihub_login check_scihub_connection
> ### write_scihub_login
>
> ### ** Examples
>
> check_scihub_login("user", "user")
Request failed [401]. Retrying in 1 seconds...
Request failed [401]. Retrying in 1.5 seconds...
[1] FALSE
> write_scihub_login("user", "user")
Request failed [401]. Retrying in 1.1 seconds...
Request failed [401]. Retrying in 3.6 seconds...
Error:
The provided credentials are not valid, so they will not be saved.
Please notice that new/recently updated SciHub credentials are
recognised by API Hub with a delay of about one week. For this reason,
newly created SciHub credentials can not immediately be used by
sen2rand password edits on old credentials are not immediately
recognised.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: dependencies in R code
Result: WARN
Missing or unexported object: 'units::ud_units'
Flavor: r-devel-windows-ix86+x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [77s]
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
Help and bug report: https://github.com/ranghetti/sen2r/issues
>
> test_check("sen2r")
Tests are run with SciHub user "user".
trying to read file: D:\temp\RtmpmEQ3MO\file10020549b5b52_test1.tif
trying to read file: D:\temp\RtmpmEQ3MO\file100201d063196_test6.tif
trying to read file: D:\temp\RtmpmEQ3MO\file10020549b5b52_test1.tif
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|========== | 14%
|
|==================== | 29%
|
|============================== | 43%
|
|======================================== | 57%
|
|================================================== | 71%
|
|============================================================ | 86%
|
|======================================================================| 100%trying to read file: D:\temp\RtmpmEQ3MO\out_test7_100203754947\BOA\S2A2A_20190723_022_Barbellino_BOA_10.tif
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%== Skipped tests ===============================================================
* On CRAN (18)
== Failed tests ================================================================
-- Error (test-gdal_warp.R:18:5): Simple clip ----------------------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test1, mask = crop_line) test-gdal_warp.R:18:4
-- Error (test-gdal_warp.R:55:5): Clip and mask --------------------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test2, mask = crop_poly) test-gdal_warp.R:55:4
-- Error (test-gdal_warp.R:193:5): Reproject and clip on a bounding box --------
Error: file not found
Backtrace:
x
1. +-sen2r::gdal_warp(ex_sel, test5, t_srs = "EPSG:32631", mask = stars::read_stars(test1)) test-gdal_warp.R:193:4
2. \-stars::read_stars(test1)
3. +-sf::gdal_read(...)
4. | \-sf:::CPL_read_gdal(...)
5. \-stars::is_big(.x, sub = sub, driver = driver, ...)
6. \-stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. \-sf::gdal_read(...)
8. \-sf:::CPL_read_gdal(...)
-- Error (test-gdal_warp.R:226:5): Reproject and clip on polygon (masking outside) --
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test6, t_srs = 32631, mask = crop_poly) test-gdal_warp.R:226:4
-- Error (test-gdal_warp.R:259:5): Use a reference raster with a different projection --
Error: replacement has length zero
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test7, ref = test6) test-gdal_warp.R:259:4
2. \-base::ifelse(is.null(of), ref_metadata$outformat, of)
-- Error (test-gdal_warp.R:291:5): ...and specify a different bounding box -----
Error: file not found
Backtrace:
x
1. +-sen2r::gdal_warp(...) test-gdal_warp.R:291:4
2. \-stars::read_stars(test1)
3. +-sf::gdal_read(...)
4. | \-sf:::CPL_read_gdal(...)
5. \-stars::is_big(.x, sub = sub, driver = driver, ...)
6. \-stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. \-sf::gdal_read(...)
8. \-sf:::CPL_read_gdal(...)
-- Error (test-gdal_warp.R:320:5): Use a reference raster with a different projection and a mask --
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test9, mask = crop_poly, ref = test6) test-gdal_warp.R:320:4
-- Error (test-gdal_warp.R:349:5): Clip, mask and reproject --------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test10, mask = crop_poly, t_srs = 32631) test-gdal_warp.R:349:4
[ FAIL 8 | WARN 1 | SKIP 18 | PASS 166 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 1.4.0
Check: dependencies in R code
Result: NOTE
Missing or unexported object: ‘units::ud_units’
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-oldrel-windows-ix86+x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [70s/77s]
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
Help and bug report: https://github.com/ranghetti/sen2r/issues
>
> test_check("sen2r")
Tests are run with SciHub user "user".
trying to read file: /tmp/RtmpGfOD6z/file3f0b51f3964_test1.tif
trying to read file: /tmp/RtmpGfOD6z/file3f0b52b457e2_test6.tif
trying to read file: /tmp/RtmpGfOD6z/file3f0b51f3964_test1.tif
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|========== | 14%
|
|==================== | 29%
|
|============================== | 43%
|
|======================================== | 57%
|
|================================================== | 71%
|
|============================================================ | 86%
|
|======================================================================| 100%trying to read file: /tmp/RtmpGfOD6z/out_test7_3f0b3beb15cd/BOA/S2A2A_20190723_022_Barbellino_BOA_10.tif
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%══ Skipped tests ═══════════════════════════════════════════════════════════════
● On CRAN (18)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-gdal_warp.R:18:5): Simple clip ──────────────────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test1, mask = crop_line) test-gdal_warp.R:18:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:55:5): Clip and mask ────────────────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test2, mask = crop_poly) test-gdal_warp.R:55:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:193:5): Reproject and clip on a bounding box ────────
Error: file not found
Backtrace:
█
1. ├─sen2r::gdal_warp(ex_sel, test5, t_srs = "EPSG:32631", mask = stars::read_stars(test1)) test-gdal_warp.R:193:4
2. └─stars::read_stars(test1)
3. ├─sf::gdal_read(...)
4. │ └─sf:::CPL_read_gdal(...)
5. └─stars::is_big(.x, sub = sub, driver = driver, ...)
6. └─stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. └─sf::gdal_read(...)
8. └─sf:::CPL_read_gdal(...)
── Error (test-gdal_warp.R:226:5): Reproject and clip on polygon (masking outside) ──
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test6, t_srs = 32631, mask = crop_poly) test-gdal_warp.R:226:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:259:5): Use a reference raster with a different projection ──
Error: replacement has length zero
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test7, ref = test6) test-gdal_warp.R:259:4
2. └─base::ifelse(is.null(of), ref_metadata$outformat, of)
── Error (test-gdal_warp.R:291:5): ...and specify a different bounding box ─────
Error: file not found
Backtrace:
█
1. ├─sen2r::gdal_warp(...) test-gdal_warp.R:291:4
2. └─stars::read_stars(test1)
3. ├─sf::gdal_read(...)
4. │ └─sf:::CPL_read_gdal(...)
5. └─stars::is_big(.x, sub = sub, driver = driver, ...)
6. └─stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. └─sf::gdal_read(...)
8. └─sf:::CPL_read_gdal(...)
── Error (test-gdal_warp.R:320:5): Use a reference raster with a different projection and a mask ──
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test9, mask = crop_poly, ref = test6) test-gdal_warp.R:320:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:349:5): Clip, mask and reproject ────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test10, mask = crop_poly, t_srs = 32631) test-gdal_warp.R:349:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
[ FAIL 8 | WARN 1 | SKIP 18 | PASS 166 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [69s/76s]
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
Help and bug report: https://github.com/ranghetti/sen2r/issues
>
> test_check("sen2r")
Tests are run with SciHub user "user".
trying to read file: /tmp/Rtmpfd1inX/file68a6639a7c6b_test1.tif
trying to read file: /tmp/Rtmpfd1inX/file68a6201c9736_test6.tif
trying to read file: /tmp/Rtmpfd1inX/file68a6639a7c6b_test1.tif
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|========== | 14%
|
|==================== | 29%
|
|============================== | 43%
|
|======================================== | 57%
|
|================================================== | 71%
|
|============================================================ | 86%
|
|======================================================================| 100%trying to read file: /tmp/Rtmpfd1inX/out_test7_68a61a8724e9/BOA/S2A2A_20190723_022_Barbellino_BOA_10.tif
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%══ Skipped tests ═══════════════════════════════════════════════════════════════
● On CRAN (18)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-gdal_warp.R:18:5): Simple clip ──────────────────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test1, mask = crop_line) test-gdal_warp.R:18:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:55:5): Clip and mask ────────────────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test2, mask = crop_poly) test-gdal_warp.R:55:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:193:5): Reproject and clip on a bounding box ────────
Error: file not found
Backtrace:
█
1. ├─sen2r::gdal_warp(ex_sel, test5, t_srs = "EPSG:32631", mask = stars::read_stars(test1)) test-gdal_warp.R:193:4
2. └─stars::read_stars(test1)
3. ├─sf::gdal_read(...)
4. │ └─sf:::CPL_read_gdal(...)
5. └─stars::is_big(.x, sub = sub, driver = driver, ...)
6. └─stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. └─sf::gdal_read(...)
8. └─sf:::CPL_read_gdal(...)
── Error (test-gdal_warp.R:226:5): Reproject and clip on polygon (masking outside) ──
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test6, t_srs = 32631, mask = crop_poly) test-gdal_warp.R:226:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:259:5): Use a reference raster with a different projection ──
Error: replacement has length zero
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test7, ref = test6) test-gdal_warp.R:259:4
2. └─base::ifelse(is.null(of), ref_metadata$outformat, of)
── Error (test-gdal_warp.R:291:5): ...and specify a different bounding box ─────
Error: file not found
Backtrace:
█
1. ├─sen2r::gdal_warp(...) test-gdal_warp.R:291:4
2. └─stars::read_stars(test1)
3. ├─sf::gdal_read(...)
4. │ └─sf:::CPL_read_gdal(...)
5. └─stars::is_big(.x, sub = sub, driver = driver, ...)
6. └─stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. └─sf::gdal_read(...)
8. └─sf:::CPL_read_gdal(...)
── Error (test-gdal_warp.R:320:5): Use a reference raster with a different projection and a mask ──
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test9, mask = crop_poly, ref = test6) test-gdal_warp.R:320:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
── Error (test-gdal_warp.R:349:5): Clip, mask and reproject ────────────────────
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
█
1. └─sen2r::gdal_warp(ex_sel, test10, mask = crop_poly, t_srs = 32631) test-gdal_warp.R:349:4
2. └─units::ud_units
3. └─base::getExportedValue(pkg, name)
[ FAIL 8 | WARN 1 | SKIP 18 | PASS 166 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.4.1
Check: examples
Result: ERROR
Running examples in ‘sen2r-Ex.R’ failed
The error most likely occurred in:
> ### Name: read_scihub_login
> ### Title: Import / export / check SciHub username and password
> ### Aliases: read_scihub_login check_scihub_login check_scihub_connection
> ### write_scihub_login
>
> ### ** Examples
>
> check_scihub_login("user", "user")
Request failed [401]. Retrying in 1 seconds...
Request failed [401]. Retrying in 1.5 seconds...
[1] FALSE
> write_scihub_login("user", "user")
Request failed [401]. Retrying in 1.1 seconds...
Request failed [401]. Retrying in 3.6 seconds...
Error:
The provided credentials are not valid, so they will not be saved.
Please notice that new/recently updated SciHub credentials are
recognised by API Hub with a delay of about one week. For this reason,
newly created SciHub credentials can not immediately be used by
sen2rand password edits on old credentials are not immediately
recognised.
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 1.4.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [82s]
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
Help and bug report: https://github.com/ranghetti/sen2r/issues
>
> test_check("sen2r")
Tests are run with SciHub user "user".
trying to read file: D:\temp\RtmpwfV2Ve\file1d1482715a38_test1.tif
trying to read file: D:\temp\RtmpwfV2Ve\file1d1482de5684_test6.tif
trying to read file: D:\temp\RtmpwfV2Ve\file1d1482715a38_test1.tif
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
|
| | 0%
|
|========== | 14%
|
|==================== | 29%
|
|============================== | 43%
|
|======================================== | 57%
|
|================================================== | 71%
|
|============================================================ | 86%
|
|======================================================================| 100%trying to read file: D:\temp\RtmpwfV2Ve\out_test7_1d148749f1020\BOA\S2A2A_20190723_022_Barbellino_BOA_10.tif
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%
|
| | 0%
|
|== | 2%
|
|=== | 5%
|
|===== | 7%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|============ | 17%
|
|============= | 19%
|
|=============== | 21%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 29%
|
|====================== | 31%
|
|======================= | 33%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================== | 43%
|
|================================ | 45%
|
|================================= | 48%
|
|=================================== | 50%
|
|===================================== | 52%
|
|====================================== | 55%
|
|======================================== | 57%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|=============================================== | 67%
|
|================================================ | 69%
|
|================================================== | 71%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 79%
|
|========================================================= | 81%
|
|========================================================== | 83%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================= | 93%
|
|=================================================================== | 95%
|
|==================================================================== | 98%
|
|======================================================================| 100%== Skipped tests ===============================================================
* On CRAN (18)
== Failed tests ================================================================
-- Error (test-gdal_warp.R:18:5): Simple clip ----------------------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test1, mask = crop_line) test-gdal_warp.R:18:4
2. \-units::ud_units
3. \-base::getExportedValue(pkg, name)
-- Error (test-gdal_warp.R:55:5): Clip and mask --------------------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test2, mask = crop_poly) test-gdal_warp.R:55:4
2. \-units::ud_units
3. \-base::getExportedValue(pkg, name)
-- Error (test-gdal_warp.R:193:5): Reproject and clip on a bounding box --------
Error: file not found
Backtrace:
x
1. +-sen2r::gdal_warp(ex_sel, test5, t_srs = "EPSG:32631", mask = stars::read_stars(test1)) test-gdal_warp.R:193:4
2. \-stars::read_stars(test1)
3. +-sf::gdal_read(...)
4. | \-sf:::CPL_read_gdal(...)
5. \-stars::is_big(.x, sub = sub, driver = driver, ...)
6. \-stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. \-sf::gdal_read(...)
8. \-sf:::CPL_read_gdal(...)
-- Error (test-gdal_warp.R:226:5): Reproject and clip on polygon (masking outside) --
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test6, t_srs = 32631, mask = crop_poly) test-gdal_warp.R:226:4
2. \-units::ud_units
3. \-base::getExportedValue(pkg, name)
-- Error (test-gdal_warp.R:259:5): Use a reference raster with a different projection --
Error: replacement has length zero
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test7, ref = test6) test-gdal_warp.R:259:4
2. \-base::ifelse(is.null(of), ref_metadata$outformat, of)
-- Error (test-gdal_warp.R:291:5): ...and specify a different bounding box -----
Error: file not found
Backtrace:
x
1. +-sen2r::gdal_warp(...) test-gdal_warp.R:291:4
2. \-stars::read_stars(test1)
3. +-sf::gdal_read(...)
4. | \-sf:::CPL_read_gdal(...)
5. \-stars::is_big(.x, sub = sub, driver = driver, ...)
6. \-stars::read_stars(x, ..., sub = sub, proxy = TRUE, quiet = TRUE)
7. \-sf::gdal_read(...)
8. \-sf:::CPL_read_gdal(...)
-- Error (test-gdal_warp.R:320:5): Use a reference raster with a different projection and a mask --
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test9, mask = crop_poly, ref = test6) test-gdal_warp.R:320:4
2. \-units::ud_units
3. \-base::getExportedValue(pkg, name)
-- Error (test-gdal_warp.R:349:5): Clip, mask and reproject --------------------
Error: 'ud_units' is not an exported object from 'namespace:units'
Backtrace:
x
1. \-sen2r::gdal_warp(ex_sel, test10, mask = crop_poly, t_srs = 32631) test-gdal_warp.R:349:4
2. \-units::ud_units
3. \-base::getExportedValue(pkg, name)
[ FAIL 8 | WARN 1 | SKIP 18 | PASS 166 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64