Last updated on 2023-07-07 06:50:57 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | 39.18 | 433.50 | 472.68 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.1 | 36.84 | 318.86 | 355.70 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.1 | 617.76 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 634.77 | OK | |||
r-devel-windows-x86_64 | 0.1.1 | 34.00 | 272.00 | 306.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.1 | 44.13 | 416.31 | 460.44 | ERROR | |
r-release-linux-x86_64 | 0.1.1 | 44.03 | 414.12 | 458.15 | ERROR | |
r-release-macos-arm64 | 0.1.1 | 169.00 | OK | |||
r-release-macos-x86_64 | 0.1.1 | 308.00 | OK | |||
r-release-windows-x86_64 | 0.1.1 | 47.00 | 397.00 | 444.00 | ERROR | |
r-oldrel-macos-arm64 | 0.1.1 | 169.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.1 | 205.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.1 | 47.00 | 360.00 | 407.00 | ERROR |
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
>
> ### ** Examples
>
> # Data
> data("mx", package = "biosurvey")
>
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args, :
target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [43s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [31s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘biosurvey-Ex.R’ failed
The error most likely occurred in:
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
>
> ### ** Examples
>
> # Data
> data("mx", package = "biosurvey")
>
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args, :
target crs creation failed: Unknown error (code 4096)
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-oldrel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [53s/134s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.4.3, released 2022/04/22
Path to GDAL shared files: /usr/local/clang/share/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
Path to PROJ shared files: /data/gannet/ripley/.local/share/proj:/usr/local/share/proj:/usr/local/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.10.2-CAPI-1.16.0
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in 'biosurvey-Ex.R' failed
The error most likely occurred in:
> ### Name: grid_from_region
> ### Title: Creates grid for a given geographic region
> ### Aliases: grid_from_region
>
> ### ** Examples
>
> # Data
> data("mx", package = "biosurvey")
>
> # Create grid from polygon
> grid_reg <- grid_from_region(region = mx, cell_size = 100)
Warning in sp::CRS("+init=epsg:4326") :
sf required for evolution_status==2L
Warning in spTransform(xSP, CRSobj, ...) :
NULL target CRS comment, falling back to PROJ string
Warning in spTransform(xSP, CRSobj, ...) : +init dropped in PROJ string
Warning in is.projected(p4str) : Package sf not available
proj_create: unrecognized format / unknown name
Error in .spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args, :
target crs creation failed: Invalid PROJ string syntax
Calls: grid_from_region ... spTransform -> .spTransform_Polygons -> .spTransform_Polygon
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.6.2, released 2023/01/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.0, March 1st, 2023, [PJ_VERSION: 920]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.2-CAPI-1.17.2
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [40s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [41s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [39s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.6.2, released 2023/01/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.3/rgdal/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.0, March 1st, 2023, [PJ_VERSION: 920]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.3/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.11.2-CAPI-1.17.2
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Invalid PROJ string syntax
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(biosurvey)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.5.2, released 2022/09/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
rgeos version: 0.6-3, (SVN revision 696)
GEOS runtime version: 3.9.3-CAPI-1.14.3
Please note that rgeos will be retired during October 2023,
plan transition to sf or terra functions using GEOS at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
GEOS using OverlayNG
Linking to sp version: 2.0-0
Polygon checking: TRUE
>
> test_check("biosurvey")
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
proj_create: unrecognized format / unknown name
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-grid_from_region.R:4:3'): SPDF grid was produced successfully ──
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::grid_from_region(mx, 200) at test-grid_from_region.R:4:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-grid_from_region.R:20:3'): Errors and messages gfr ─────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(grid_from_region(mx, 1000, complete_cover = FALSE)) at test-grid_from_region.R:20:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::grid_from_region(mx, 1000, complete_cover = FALSE)
7. ├─sp::spTransform(region, WGS84)
8. └─sp::spTransform(region, WGS84)
9. ├─sp::spTransform(xSP, CRSobj, ...)
10. └─rgdal (local) spTransform(xSP, CRSobj, ...)
11. └─rgdal:::.spTransform_Polygons(...)
12. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-helpers_spp_tables.R:30:3'): Correct spdf_2data ────────────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::grid_from_region(region = mx, cell_size = 200) at test-helpers_spp_tables.R:30:2
2. ├─sp::spTransform(region, WGS84)
3. └─sp::spTransform(region, WGS84)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
6. └─rgdal:::.spTransform_Polygons(...)
7. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:4:3'): Correct creation of base_PAM ─────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::prepare_base_PAM(...) at test-prepare_base_PAM.R:4:2
2. └─biosurvey::grid_from_region(...)
3. ├─sp::spTransform(region, WGS84)
4. └─sp::spTransform(region, WGS84)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
7. └─rgdal:::.spTransform_Polygons(...)
8. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-prepare_base_PAM.R:26:3'): Errors and messages base_PAM ────────
Error in `.spTransform_Polygon(input[[i]], to_args = to_args, from_args = from_args,
ii = ii, jj = i, use_ob_tran = use_ob_tran, coordOp = coordOp,
enforce_xy = enforce_xy, aoi = aoi)`: target crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-prepare_base_PAM.R:26:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::prepare_base_PAM(...)
7. └─biosurvey::grid_from_region(...)
8. ├─sp::spTransform(region, WGS84)
9. └─sp::spTransform(region, WGS84)
10. ├─sp::spTransform(xSP, CRSobj, ...)
11. └─rgdal (local) spTransform(xSP, CRSobj, ...)
12. └─rgdal:::.spTransform_Polygons(...)
13. └─rgdal:::.spTransform_Polygon(...)
── Error ('test-preselected_dist_mask.R:6:3'): Correct creation of mask ────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::preselected_dist_mask(...) at test-preselected_dist_mask.R:6:2
2. └─biosurvey::point_thinning(...)
3. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
4. ├─sp::spTransform(dat_s, prj)
5. └─sp::spTransform(dat_s, prj)
6. ├─sp::spTransform(xSP, CRSobj, ...)
7. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-selection_helpers.R:7:3'): Correct point_thinning ──────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::point_thinning(...) at test-selection_helpers.R:7:2
2. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
3. ├─sp::spTransform(dat_s, prj)
4. └─sp::spTransform(dat_s, prj)
5. ├─sp::spTransform(xSP, CRSobj, ...)
6. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-short_helpers.R:17:3'): Errors wgs84_2aed_laea ─────────────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::wgs84_2aed_laea(...) at test-short_helpers.R:17:2
2. ├─sp::spTransform(dat_s, prj)
3. └─sp::spTransform(dat_s, prj)
4. ├─sp::spTransform(xSP, CRSobj, ...)
5. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:4:3'): Correct G master_selection ─────────
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. └─biosurvey::uniformG_selection(...) at test-uniformG_selection.R:4:2
2. └─biosurvey::preselected_dist_mask(...)
3. └─biosurvey::point_thinning(...)
4. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
5. ├─sp::spTransform(dat_s, prj)
6. └─sp::spTransform(dat_s, prj)
7. ├─sp::spTransform(xSP, CRSobj, ...)
8. └─rgdal (local) spTransform(xSP, CRSobj, ...)
── Error ('test-uniformG_selection.R:28:3'): Errors and messages G selection ───
Error in `spTransform(xSP, CRSobj, ...)`: source crs creation failed: Unknown error (code 4096)
Backtrace:
▆
1. ├─testthat::expect_message(...) at test-uniformG_selection.R:28:2
2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─biosurvey::uniformG_selection(...)
7. └─biosurvey::preselected_dist_mask(...)
8. └─biosurvey::point_thinning(...)
9. └─biosurvey::wgs84_2aed_laea(data, x_column, y_column, which = "ED")
10. ├─sp::spTransform(dat_s, prj)
11. └─sp::spTransform(dat_s, prj)
12. ├─sp::spTransform(xSP, CRSobj, ...)
13. └─rgdal (local) spTransform(xSP, CRSobj, ...)
[ FAIL 10 | WARN 56 | SKIP 0 | PASS 208 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64