Last updated on 2021-06-28 15:51:10 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.3 | 22.24 | 183.56 | 205.80 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.2.3 | 17.54 | 134.51 | 152.05 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.2.3 | 253.15 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.2.3 | 241.35 | ERROR | |||
r-devel-windows-x86_64 | 1.2.3 | 43.00 | 243.00 | 286.00 | ERROR | |
r-devel-windows-x86_64-gcc10-UCRT | 1.2.3 | ERROR | ||||
r-patched-linux-x86_64 | 1.2.3 | 28.08 | 173.36 | 201.44 | ERROR | |
r-patched-solaris-x86 | 1.2.3 | 338.20 | ERROR | |||
r-release-linux-x86_64 | 1.2.3 | 20.47 | 172.76 | 193.23 | ERROR | |
r-release-macos-arm64 | 1.2.3 | NOTE | ||||
r-release-macos-x86_64 | 1.2.3 | NOTE | ||||
r-release-windows-ix86+x86_64 | 1.2.3 | 66.00 | 231.00 | 297.00 | ERROR | |
r-oldrel-macos-x86_64 | 1.2.3 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.2.3 | 45.00 | 185.00 | 230.00 | ERROR |
Version: 1.2.3
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in 'MODIS-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-MODIS::getTile(Up)
2. +-MODIS::getTile(Up)
3. | +-MODIS::getTile(sf::st_as_sf(x), ...)
4. | \-MODIS::getTile(sf::st_as_sf(x), ...)
5. | +-base::suppressMessages(sf::st_filter(sr, x))
6. | | \-base::withCallingHandlers(...)
7. | +-sf::st_filter(sr, x)
8. | \-sf:::st_filter.sf(sr, x)
9. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. | | \-sf:::.re_sf(...)
12. | | \-base::stopifnot(...)
13. | +-base::NextMethod()
14. | \-dplyr:::filter.data.frame(...)
15. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. | +-base::withCallingHandlers(...)
17. | \-mask$eval_all_filter(dots, env_filter)
18. +-base::lengths(.predicate(x, y, ...))
19. +-sf:::.predicate(x, y, ...)
20. +-sf:::st_intersects.sf(x, y, ...)
21. | \-sf:::st_geos_binop(...)
22. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. | +-s2:::cpp_s2_intersects_matrix(...)
24. | +-s2::as_s2_geography(x)
25. | \-sf:::as_s2_geography.sf(x)
26. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. | +-sf::st_as_s2(st_geometry(x), ...)
28. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
29. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. | +-s2:::new_s2_xptr(...)
32. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. +-base::stop(...)
34. \-(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.2.3
Check: tests
Result: ERROR
Running 'tinytest.R' [7s/11s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.9s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m68ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-tinytest::test_package("MODIS")
2. | \-tinytest::run_test_dir(...)
3. | \-base::lapply(...)
4. | \-tinytest:::FUN(X[[i]], ...)
5. | \-base::eval(expr, envir = e)
6. | \-base::eval(expr, envir = e)
7. | +-tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. | | \-tinytest:::fun(...)
9. | +-MODIS::getTile(pts[1, ])
10. | \-MODIS::getTile(pts[1, ])
11. | +-base::suppressMessages(sf::st_filter(sr, x))
12. | | \-base::withCallingHandlers(...)
13. | +-sf::st_filter(sr, x)
14. | \-sf:::st_filter.sf(sr, x)
15. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. | | \-sf:::.re_sf(...)
18. | | \-base::stopifnot(...)
19. | +-base::NextMethod()
20. | \-dplyr:::filter.data.frame(...)
21. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_filter(dots, env_filter)
24. +-base::lengths(.predicate(x, y, ...))
25. +-sf:::.predicate(x, y, ...)
26. +-sf:::st_intersects.sf(x, y, ...)
27. | \-sf:::st_geos_binop(...)
28. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. | +-s2:::cpp_s2_intersects_matrix(...)
30. | +-s2::as_s2_geography(x)
31. | \-sf:::as_s2_geography.sf(x)
32. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. | +-sf::st_as_s2(st_geometry(x), ...)
34. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
35. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. | +-s2:::new_s2_xptr(...)
38. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. +-base::stop(...)
40. \-(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [5s/9s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.6s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m8ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m61ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/data/gannet/ripley/R/test-clang/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ...)
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [8s/11s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.4s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m20ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ...)
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/data/gannet/ripley/R/test-4.2/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [8s/11s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m99ms<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m82ms<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.5s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m27ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m70ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in 'MODIS-Ex.R' failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "D:\temp\RtmpSKIXni\RLIBS_37e3462be6480\rgdal\vectors\Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-MODIS::getTile(Up)
2. +-MODIS::getTile(Up)
3. | +-MODIS::getTile(sf::st_as_sf(x), ...)
4. | \-MODIS::getTile(sf::st_as_sf(x), ...)
5. | +-base::suppressMessages(sf::st_filter(sr, x))
6. | | \-base::withCallingHandlers(...)
7. | +-sf::st_filter(sr, x)
8. | \-sf:::st_filter.sf(sr, x)
9. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. | | \-sf:::.re_sf(...)
12. | | \-base::stopifnot(...)
13. | +-base::NextMethod()
14. | \-dplyr:::filter.data.frame(...)
15. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. | +-base::withCallingHandlers(...)
17. | \-mask$eval_all_filter(dots, env_filter)
18. +-base::lengths(.predicate(x, y, ...))
19. +-sf:::.predicate(x, y, ...)
20. +-sf:::st_intersects.sf(x, y, ...)
21. | \-sf:::st_geos_binop(...)
22. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. | +-s2:::cpp_s2_intersects_matrix(...)
24. | +-s2::as_s2_geography(x)
25. | \-sf:::as_s2_geography.sf(x)
26. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. | +-sf::st_as_s2(st_geometry(x), ...)
28. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
29. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. | +-s2:::new_s2_xptr(...)
32. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. +-base::stop(...)
34. \-(function (e) ...
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.2.3
Check: tests
Result: ERROR
Running 'tinytest.R' [9s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m93ms<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m57ms<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.6s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m15ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m46ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-tinytest::test_package("MODIS")
2. | \-tinytest::run_test_dir(...)
3. | \-base::lapply(...)
4. | \-tinytest:::FUN(X[[i]], ...)
5. | \-base::eval(expr, envir = e)
6. | \-base::eval(expr, envir = e)
7. | +-tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. | | \-tinytest:::fun(...)
9. | +-MODIS::getTile(pts[1, ])
10. | \-MODIS::getTile(pts[1, ])
11. | +-base::suppressMessages(sf::st_filter(sr, x))
12. | | \-base::withCallingHandlers(...)
13. | +-sf::st_filter(sr, x)
14. | \-sf:::st_filter.sf(sr, x)
15. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. | | \-sf:::.re_sf(...)
18. | | \-base::stopifnot(...)
19. | +-base::NextMethod()
20. | \-dplyr:::filter.data.frame(...)
21. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_filter(dots, env_filter)
24. +-base::lengths(.predicate(x, y, ...))
25. +-sf:::.predicate(x, y, ...)
26. +-sf:::st_intersects.sf(x, y, ...)
27. | \-sf:::st_geos_binop(...)
28. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. | +-s2:::cpp_s2_intersects_matrix(...)
30. | +-s2::as_s2_geography(x)
31. | \-sf:::as_s2_geography.sf(x)
32. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. | +-sf::st_as_s2(st_geometry(x), ...)
34. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
35. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. | +-s2:::new_s2_xptr(...)
38. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. +-base::stop(...)
40. \-(function (e) ...
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in 'MODIS-Ex.R' failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\lib\rgdal\vectors\Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-MODIS::getTile(Up)
2. +-MODIS::getTile(Up)
3. | +-MODIS::getTile(sf::st_as_sf(x), ...)
4. | \-MODIS::getTile(sf::st_as_sf(x), ...)
5. | +-base::suppressMessages(sf::st_filter(sr, x))
6. | | \-base::withCallingHandlers(...)
7. | +-sf::st_filter(sr, x)
8. | \-sf:::st_filter.sf(sr, x)
9. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. | | \-sf:::.re_sf(...)
12. | | \-base::stopifnot(...)
13. | +-base::NextMethod()
14. | \-dplyr:::filter.data.frame(...)
15. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. | +-base::withCallingHandlers(...)
17. | \-mask$eval_all_filter(dots, env_filter)
18. +-base::lengths(.predicate(x, y, ...))
19. +-sf:::.predicate(x, y, ...)
20. +-sf:::st_intersects.sf(x, y, ...)
21. | \-sf:::st_geos_binop(...)
22. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. | +-s2:::cpp_s2_intersects_matrix(...)
24. | +-s2::as_s2_geography(x)
25. | \-sf:::as_s2_geography.sf(x)
26. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. | +-sf::st_as_s2(st_geometry(x), ...)
28. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
29. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. | +-s2:::new_s2_xptr(...)
32. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. +-base::stop(...)
34. \-(function (e) ...
Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT
Version: 1.2.3
Check: tests
Result: ERROR
Running 'tinytest.R'
Running the tests in 'tests/tinytest.R' failed.
Last 13 lines of output:
27. | \-sf:::st_geos_binop(...)
28. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. | +-s2:::cpp_s2_intersects_matrix(...)
30. | +-s2::as_s2_geography(x)
31. | \-sf:::as_s2_geography.sf(x)
32. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. | +-sf::st_as_s2(st_geometry(x), ...)
34. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
35. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. | +-s2:::new_s2_xptr(...)
38. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. +-base::stop(...)
40. \-(function (e) ...
Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [7s/10s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.7s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m24ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
OGR data source with driver: MapInfo File
Source: "/home/ripley/R/Lib32/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [11s/22s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m88ms<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.2s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m9.3s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m21ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests <1b>[0;36m14ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in ‘MODIS-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/rgdal/vectors/Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─MODIS::getTile(Up)
2. ├─MODIS::getTile(Up)
3. │ ├─MODIS::getTile(sf::st_as_sf(x), ...)
4. │ └─MODIS::getTile(sf::st_as_sf(x), ...)
5. │ ├─base::suppressMessages(sf::st_filter(sr, x))
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─sf::st_filter(sr, x)
8. │ └─sf:::st_filter.sf(sr, x)
9. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. │ │ └─sf:::.re_sf(...)
12. │ │ └─base::stopifnot(...)
13. │ ├─base::NextMethod()
14. │ └─dplyr:::filter.data.frame(...)
15. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. │ ├─base::withCallingHandlers(...)
17. │ └─mask$eval_all_filter(dots, env_filter)
18. ├─base::lengths(.predicate(x, y, ...))
19. ├─sf:::.predicate(x, y, ...)
20. ├─sf:::st_intersects.sf(x, y, ...)
21. │ └─sf:::st_geos_binop(...)
22. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. │ ├─s2:::cpp_s2_intersects_matrix(...)
24. │ ├─s2::as_s2_geography(x)
25. │ └─sf:::as_s2_geography.sf(x)
26. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. │ ├─sf::st_as_s2(st_geometry(x), ...)
28. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
29. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. │ ├─s2:::new_s2_xptr(...)
32. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. ├─base::stop(...)
34. └─(function (e) ...
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘tinytest.R’ [6s/10s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m93ms<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.9s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m24ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
✖ Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
█
1. ├─tinytest::test_package("MODIS")
2. │ └─tinytest::run_test_dir(...)
3. │ └─base::lapply(...)
4. │ └─tinytest:::FUN(X[[i]], ...)
5. │ └─base::eval(expr, envir = e)
6. │ └─base::eval(expr, envir = e)
7. │ ├─tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. │ │ └─tinytest:::fun(...)
9. │ ├─MODIS::getTile(pts[1, ])
10. │ └─MODIS::getTile(pts[1, ])
11. │ ├─base::suppressMessages(sf::st_filter(sr, x))
12. │ │ └─base::withCallingHandlers(...)
13. │ ├─sf::st_filter(sr, x)
14. │ └─sf:::st_filter.sf(sr, x)
15. │ ├─dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. │ ├─sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. │ │ └─sf:::.re_sf(...)
18. │ │ └─base::stopifnot(...)
19. │ ├─base::NextMethod()
20. │ └─dplyr:::filter.data.frame(...)
21. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. │ ├─base::withCallingHandlers(...)
23. │ └─mask$eval_all_filter(dots, env_filter)
24. ├─base::lengths(.predicate(x, y, ...))
25. ├─sf:::.predicate(x, y, ...)
26. ├─sf:::st_intersects.sf(x, y, ...)
27. │ └─sf:::st_geos_binop(...)
28. │ └─s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. │ ├─s2:::cpp_s2_intersects_matrix(...)
30. │ ├─s2::as_s2_geography(x)
31. │ └─sf:::as_s2_geography.sf(x)
32. │ └─sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. │ ├─sf::st_as_s2(st_geometry(x), ...)
34. │ └─sf:::st_as_s2.sfc(st_geometry(x), ...)
35. │ ├─s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. │ └─s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. │ ├─s2:::new_s2_xptr(...)
38. │ └─s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. ├─base::stop(...)
40. └─(function (e) ...
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in 'MODIS-Ex.R' failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "D:\temp\RtmpED5olS\RLIBS_1e688237b2060\rgdal\vectors\Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-MODIS::getTile(Up)
2. +-MODIS::getTile(Up)
3. | +-MODIS::getTile(sf::st_as_sf(x), ...)
4. | \-MODIS::getTile(sf::st_as_sf(x), ...)
5. | +-base::suppressMessages(sf::st_filter(sr, x))
6. | | \-base::withCallingHandlers(...)
7. | +-sf::st_filter(sr, x)
8. | \-sf:::st_filter.sf(sr, x)
9. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. | | \-sf:::.re_sf(...)
12. | | \-base::stopifnot(...)
13. | +-base::NextMethod()
14. | \-dplyr:::filter.data.frame(...)
15. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. | +-base::withCallingHandlers(...)
17. | \-mask$eval_all_filter(dots, env_filter)
18. +-base::lengths(.predicate(x, y, ...))
19. +-sf:::.predicate(x, y, ...)
20. +-sf:::st_intersects.sf(x, y, ...)
21. | \-sf:::st_geos_binop(...)
22. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. | +-s2:::cpp_s2_intersects_matrix(...)
24. | +-s2::as_s2_geography(x)
25. | \-sf:::as_s2_geography.sf(x)
26. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. | +-sf::st_as_s2(st_geometry(x), ...)
28. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
29. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. | +-s2:::new_s2_xptr(...)
32. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. +-base::stop(...)
34. \-(function (e) ...
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 1.2.3
Check: tests
Result: ERROR
Running 'tinytest.R' [9s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m83ms<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m58ms<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.1s<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.5s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m16ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m47ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-tinytest::test_package("MODIS")
2. | \-tinytest::run_test_dir(...)
3. | \-base::lapply(...)
4. | \-tinytest:::FUN(X[[i]], ...)
5. | \-base::eval(expr, envir = e)
6. | \-base::eval(expr, envir = e)
7. | +-tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. | | \-tinytest:::fun(...)
9. | +-MODIS::getTile(pts[1, ])
10. | \-MODIS::getTile(pts[1, ])
11. | +-base::suppressMessages(sf::st_filter(sr, x))
12. | | \-base::withCallingHandlers(...)
13. | +-sf::st_filter(sr, x)
14. | \-sf:::st_filter.sf(sr, x)
15. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. | | \-sf:::.re_sf(...)
18. | | \-base::stopifnot(...)
19. | +-base::NextMethod()
20. | \-dplyr:::filter.data.frame(...)
21. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_filter(dots, env_filter)
24. +-base::lengths(.predicate(x, y, ...))
25. +-sf:::.predicate(x, y, ...)
26. +-sf:::st_intersects.sf(x, y, ...)
27. | \-sf:::st_geos_binop(...)
28. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. | +-s2:::cpp_s2_intersects_matrix(...)
30. | +-s2::as_s2_geography(x)
31. | \-sf:::as_s2_geography.sf(x)
32. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. | +-sf::st_as_s2(st_geometry(x), ...)
34. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
35. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. | +-s2:::new_s2_xptr(...)
38. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. +-base::stop(...)
40. \-(function (e) ...
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 1.2.3
Check: examples
Result: ERROR
Running examples in 'MODIS-Ex.R' failed
The error most likely occurred in:
> ### Name: getTile
> ### Title: Get MODIS Tile ID(s)
> ### Aliases: getTile getTile,missing,missing,missing-method
> ### getTile,missing,charORnum,charORnum-method
> ### getTile,character,ANY,ANY-method getTile,character-method
> ### getTile,Raster,ANY,ANY-method getTile,Raster-method
> ### getTile,map,ANY,ANY-method getTile,map-method
> ### getTile,Extent,ANY,ANY-method getTile,Extent-method
> ### getTile,bbox,ANY,ANY-method getTile,bbox-method
> ### getTile,Spatial,ANY,ANY-method getTile,Spatial-method
> ### getTile,sf,ANY,ANY-method getTile,sf-method
>
> ### ** Examples
>
> ## Not run:
> ##D # ex 1 ############
> ##D # interactive tile selection
> ##D getTile()
> ##D getTile(mode = "draw")
> ## End(Not run)
>
> # ex 2: Spatial (taken from ?rgdal::readOGR) ############
> dsn <- system.file("vectors/Up.tab", package = "rgdal")[1]
> Up <- rgdal::readOGR(dsn, "Up")
Warning in OGRSpatialRef(dsn, layer, morphFromESRI = morphFromESRI, dumpSRS = dumpSRS, :
Discarded datum South_American_Datum_1969 in Proj4 definition: +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs
OGR data source with driver: MapInfo File
Source: "D:\temp\RtmpSQ6ajF\RLIBS_1147013dd4daf\rgdal\vectors\Up.tab", layer: "Up"
with 81 features
It has 52 fields
> getTile(Up)
Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-MODIS::getTile(Up)
2. +-MODIS::getTile(Up)
3. | +-MODIS::getTile(sf::st_as_sf(x), ...)
4. | \-MODIS::getTile(sf::st_as_sf(x), ...)
5. | +-base::suppressMessages(sf::st_filter(sr, x))
6. | | \-base::withCallingHandlers(...)
7. | +-sf::st_filter(sr, x)
8. | \-sf:::st_filter.sf(sr, x)
9. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
10. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
11. | | \-sf:::.re_sf(...)
12. | | \-base::stopifnot(...)
13. | +-base::NextMethod()
14. | \-dplyr:::filter.data.frame(...)
15. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
16. | +-base::withCallingHandlers(...)
17. | \-mask$eval_all_filter(dots, env_filter)
18. +-base::lengths(.predicate(x, y, ...))
19. +-sf:::.predicate(x, y, ...)
20. +-sf:::st_intersects.sf(x, y, ...)
21. | \-sf:::st_geos_binop(...)
22. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
23. | +-s2:::cpp_s2_intersects_matrix(...)
24. | +-s2::as_s2_geography(x)
25. | \-sf:::as_s2_geography.sf(x)
26. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
27. | +-sf::st_as_s2(st_geometry(x), ...)
28. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
29. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
30. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
31. | +-s2:::new_s2_xptr(...)
32. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
33. +-base::stop(...)
34. \-(function (e) ...
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 1.2.3
Check: tests
Result: ERROR
Running 'tinytest.R' [8s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("MODIS")
+ }
Loading required package: mapdata
Loading required package: maps
Loading required package: raster
Loading required package: sp
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 0 tests
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 1 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 2 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 3 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 4 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m
Running test-EarthdataLogin.R......... 5 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m94ms<1b>[0m
Running test-extractDate.R............ 0 tests
Running test-extractDate.R............ 1 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 2 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 3 tests <1b>[0;32mOK<1b>[0m
Running test-extractDate.R............ 4 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m47ms<1b>[0m
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 0 tests
Running test-genString.R.............. 1 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 2 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m
Running test-genString.R.............. 3 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m78ms<1b>[0m
Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m1.5s<1b>[0m
Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m16ms<1b>[0m
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 0 tests
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 3 tests <1b>[0;32mOK<1b>[0m
Running test-getSds.R................. 9 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m31ms<1b>[0m
Running test-getTile.R................ 0 tests
Running test-getTile.R................ 0 tests Error: Problem with `filter()` input `..1`.
i Input `..1` is `lengths(.predicate(x, y, ...)) > 0`.
x Evaluation error: Found 4 features with invalid spherical geometry.
[13] Loop 0 is not valid: Edge 1 crosses edge 6
[18] Loop 0 is not valid: Edge 0 crosses edge 5
[446] Loop 0 is not valid: Edge 1 crosses edge 4
[451] Loop 0 is not valid: Edge 2 crosses edge 5.
Backtrace:
x
1. +-tinytest::test_package("MODIS")
2. | \-tinytest::run_test_dir(...)
3. | \-base::lapply(...)
4. | \-tinytest:::FUN(X[[i]], ...)
5. | \-base::eval(expr, envir = e)
6. | \-base::eval(expr, envir = e)
7. | +-tinytest::expect_null(getTile(pts[1, ])@target$extent, info = "target extent defaults to full tile for single point feature")
8. | | \-tinytest:::fun(...)
9. | +-MODIS::getTile(pts[1, ])
10. | \-MODIS::getTile(pts[1, ])
11. | +-base::suppressMessages(sf::st_filter(sr, x))
12. | | \-base::withCallingHandlers(...)
13. | +-sf::st_filter(sr, x)
14. | \-sf:::st_filter.sf(sr, x)
15. | +-dplyr::filter(x, lengths(.predicate(x, y, ...)) > 0)
16. | +-sf:::filter.sf(x, lengths(.predicate(x, y, ...)) > 0)
17. | | \-sf:::.re_sf(...)
18. | | \-base::stopifnot(...)
19. | +-base::NextMethod()
20. | \-dplyr:::filter.data.frame(...)
21. | \-dplyr:::filter_rows(.data, ..., caller_env = caller_env())
22. | +-base::withCallingHandlers(...)
23. | \-mask$eval_all_filter(dots, env_filter)
24. +-base::lengths(.predicate(x, y, ...))
25. +-sf:::.predicate(x, y, ...)
26. +-sf:::st_intersects.sf(x, y, ...)
27. | \-sf:::st_geos_binop(...)
28. | \-s2:::fn(x, y, s2::s2_options(model = s2_model, ...))
29. | +-s2:::cpp_s2_intersects_matrix(...)
30. | +-s2::as_s2_geography(x)
31. | \-sf:::as_s2_geography.sf(x)
32. | \-sf:::st_as_s2.sf(x, ..., oriented = oriented)
33. | +-sf::st_as_s2(st_geometry(x), ...)
34. | \-sf:::st_as_s2.sfc(st_geometry(x), ...)
35. | +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
36. | \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
37. | +-s2:::new_s2_xptr(...)
38. | \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
39. +-base::stop(...)
40. \-(function (e) ...
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64