CRAN Package Check Results for Package MODIS

Last updated on 2021-06-18 22:54:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3 22.47 184.31 206.78 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.3 19.19 135.24 154.43 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.3 251.28 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.3 239.14 ERROR
r-devel-windows-x86_64 1.2.3 41.00 240.00 281.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.2.3 ERROR
r-patched-linux-x86_64 1.2.3 26.86 173.53 200.39 ERROR
r-patched-solaris-x86 1.2.3 337.40 ERROR
r-release-linux-x86_64 1.2.3 21.13 171.82 192.95 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 58.00 253.00 311.00 ERROR
r-oldrel-macos-x86_64 1.2.3 OK
r-oldrel-windows-ix86+x86_64 1.2.3 46.00 172.00 218.00 ERROR

Additional issues

M1mac

Check Details

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-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, ...)
     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/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.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.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;34m2.0s<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;34m0.1s<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, ...)
     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, ...)
     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;36m72ms<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.8s<1b>[0m
    
     Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m9ms<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;36m86ms<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-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.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.5s<1b>[0m
    
     Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m19ms<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;36m65ms<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, ...)
     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/13s]
    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.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.1s<1b>[0m
    
     Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m2.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;36m69ms<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-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\RtmpkdfNY1\RLIBS_19a021024f71\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, ...)
     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' [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.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.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;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, ...)
     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: package dependencies
Result: ERROR
    Packages required but not available: 'mapedit', 'sf'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
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, ...)
     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/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.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;36m39ms<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-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, ...)
     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/25s]
    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.2s<1b>[0m
    
     Running test-getCollection.R.......... 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m10.3s<1b>[0m
    
     Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m30ms<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;36m26ms<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-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, ...)
     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/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;36m86ms<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;36m23ms<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;36m71ms<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-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\RtmpSMQ6DP\RLIBS_23e892c7070\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, ...)
     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' [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.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;36m70ms<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;34m2.5s<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;36m48ms<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, ...)
     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\RtmpwJf7eV\RLIBS_12a6c6e63a34\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, ...)
     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' [7s]
    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;36m78ms<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;36m31ms<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.6s<1b>[0m
    
     Running test-getProduct.R............. 1 tests <1b>[0;32mOK<1b>[0m <1b>[0;36m0ms<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, ...)
     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