Last updated on 2020-03-27 00:49:36 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.3.2 | 33.65 | 215.48 | 249.13 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.3.2 | 30.47 | 156.50 | 186.97 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.3.2 | 268.89 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.3.2 | 263.27 | ERROR | |||
r-devel-windows-ix86+x86_64 | 1.3.2 | 57.00 | 213.00 | 270.00 | OK | |
r-devel-windows-ix86+x86_64-gcc8 | 1.3.2 | 56.00 | 245.00 | 301.00 | OK | |
r-patched-linux-x86_64 | 1.3.2 | 25.80 | 182.12 | 207.92 | ERROR | |
r-patched-solaris-x86 | 1.3.2 | 395.40 | ERROR | |||
r-release-linux-x86_64 | 1.3.2 | 27.07 | 180.80 | 207.87 | ERROR | |
r-release-windows-ix86+x86_64 | 1.3.2 | 83.00 | 313.00 | 396.00 | OK | |
r-release-osx-x86_64 | 1.3.2 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.3.2 | 63.00 | 301.00 | 364.00 | OK | |
r-oldrel-osx-x86_64 | 1.3.2 | OK |
Version: 1.3.2
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: st_crs2
> ### Title: Retrieve coordinate reference system from sf or sfc object
> ### Aliases: st_crs2
>
> ### ** Examples
>
> ## CRS from EPSG
> st_crs2(32609)
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCRS["WGS 84 / UTM zone 9N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - N hemisphere - 132°W to 126°W - by country"],
BBOX[0,-132,84,-126]],
ID["EPSG",32609]]
> st_crs2("EPSG:32609")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCRS["WGS 84 / UTM zone 9N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - N hemisphere - 132°W to 126°W - by country"],
BBOX[0,-132,84,-126]],
ID["EPSG",32609]]
>
> ## CRS from UTM zone
> st_crs2(9)
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCRS["WGS 84 / UTM zone 9N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - N hemisphere - 132°W to 126°W - by country"],
BBOX[0,-132,84,-126]],
ID["EPSG",32609]]
> st_crs2("09")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCRS["WGS 84 / UTM zone 9N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - N hemisphere - 132°W to 126°W - by country"],
BBOX[0,-132,84,-126]],
ID["EPSG",32609]]
> st_crs2("9N")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCRS["WGS 84 / UTM zone 9N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9N",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",0,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - N hemisphere - 132°W to 126°W - by country"],
BBOX[0,-132,84,-126]],
ID["EPSG",32609]]
> st_crs2("09S")
Coordinate Reference System:
User input: EPSG:32709
wkt:
PROJCRS["WGS 84 / UTM zone 9S",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]],
CONVERSION["UTM zone 9S",
METHOD["Transverse Mercator",
ID["EPSG",9807]],
PARAMETER["Latitude of natural origin",0,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8801]],
PARAMETER["Longitude of natural origin",-129,
ANGLEUNIT["degree",0.0174532925199433],
ID["EPSG",8802]],
PARAMETER["Scale factor at natural origin",0.9996,
SCALEUNIT["unity",1],
ID["EPSG",8805]],
PARAMETER["False easting",500000,
LENGTHUNIT["metre",1],
ID["EPSG",8806]],
PARAMETER["False northing",10000000,
LENGTHUNIT["metre",1],
ID["EPSG",8807]]],
CS[Cartesian,2],
AXIS["(E)",east,
ORDER[1],
LENGTHUNIT["metre",1]],
AXIS["(N)",north,
ORDER[2],
LENGTHUNIT["metre",1]],
USAGE[
SCOPE["unknown"],
AREA["World - S hemisphere - 132°W to 126°W - by country"],
BBOX[-80,-132,0,-126]],
ID["EPSG",32709]]
>
> ## CRS from WKT (string or path)
> (wkt_32n <- sf::st_as_text(sf::st_crs(32609)))
[1] "PROJCS[\"WGS 84 / UTM zone 9N\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",-129],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],AUTHORITY[\"EPSG\",\"32609\"]]"
> st_crs2(wkt_32n)
Error in st_crs.character(wkt = x, ...) :
argument "x" is missing, with no default
Calls: st_crs2 ... st_crs2.character -> <Anonymous> -> st_crs.character
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [7s/21s]
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.3.2
Check: examples
Result: ERROR
Running examples in ‘sen2r-Ex.R’ failed
The error most likely occurred in:
> ### Name: st_crs2
> ### Title: Retrieve coordinate reference system from sf or sfc object
> ### Aliases: st_crs2
>
> ### ** Examples
>
> ## CRS from EPSG
> st_crs2(32609)
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCS["WGS 84 / UTM zone 9N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32609"]]
> st_crs2("EPSG:32609")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCS["WGS 84 / UTM zone 9N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32609"]]
>
> ## CRS from UTM zone
> st_crs2(9)
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCS["WGS 84 / UTM zone 9N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32609"]]
> st_crs2("09")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCS["WGS 84 / UTM zone 9N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32609"]]
> st_crs2("9N")
Coordinate Reference System:
User input: EPSG:32609
wkt:
PROJCS["WGS 84 / UTM zone 9N",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32609"]]
> st_crs2("09S")
Coordinate Reference System:
User input: EPSG:32709
wkt:
PROJCS["WGS 84 / UTM zone 9S",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-129],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",10000000],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","32709"]]
>
> ## CRS from WKT (string or path)
> (wkt_32n <- sf::st_as_text(sf::st_crs(32609)))
[1] "PROJCS[\"WGS 84 / UTM zone 9N\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",-129],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],AUTHORITY[\"EPSG\",\"32609\"]]"
> st_crs2(wkt_32n)
Error in st_crs.character(wkt = x, ...) :
argument "x" is missing, with no default
Calls: st_crs2 ... st_crs2.character -> <Anonymous> -> st_crs.character
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [11s/31s]
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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [10s/32s]
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
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
Flavor: r-patched-linux-x86_64
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [14s/34s]
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
Flavor: r-patched-solaris-x86
Version: 1.3.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [8s/21s]
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
Flavor: r-release-linux-x86_64