Last updated on 2025-12-03 05:50:20 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.1 | 144.77 | 329.74 | 474.51 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.1 | 94.93 | 215.82 | 310.75 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.1 | 476.00 | 320.22 | 796.22 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 214.00 | 502.20 | 716.20 | OK | |
| r-devel-windows-x86_64 | 1.0.1 | 158.00 | 311.00 | 469.00 | OK | |
| r-patched-linux-x86_64 | 1.0.1 | 147.28 | 313.89 | 461.17 | OK | |
| r-release-linux-x86_64 | 1.0.1 | 145.09 | 313.44 | 458.53 | OK | |
| r-release-macos-arm64 | 1.0.1 | OK | ||||
| r-release-macos-x86_64 | 1.0.1 | 65.00 | 264.00 | 329.00 | OK | |
| r-release-windows-x86_64 | 1.0.1 | 161.00 | 323.00 | 484.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.1 | NOTE | ||||
| r-oldrel-macos-x86_64 | 1.0.1 | 55.00 | 195.00 | 250.00 | NOTE | |
| r-oldrel-windows-x86_64 | 1.0.1 | 196.00 | 371.00 | 567.00 | ERROR |
Version: 1.0.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘gurobi’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 16.3Mb
sub-directories of 1Mb or more:
doc 1.7Mb
extdata 4.1Mb
libs 9.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # check if on Fedora
> os_name <- utils::sessionInfo()$running
> is_fedora <- TRUE
> if (
+ is.character(os_name) &&
+ identical(length(os_name), 1L) &&
+ all(!is.na(os_name))
+ ) {
+ is_fedora <- any(grepl("fedora", tolower(os_name), fixed = TRUE))
+ }
>
> # run tests (but not on Fedora systems)
> if (isTRUE(is_fedora)) {
+ message("skipping tests on Fedora system")
+ } else {
+ ## load packages
+ library(testthat)
+ library(raptr)
+
+ ## enable parallel testing
+ Sys.unsetenv("R_TESTS")
+
+ ## determine reporter
+ if (identical(Sys.getenv("CI"), "true")) {
+ reporter <- "progress"
+ } else {
+ reporter <- testthat::check_reporter()
+ }
+
+ ## run tests
+ test_check("raptr", reporter = reporter)
+ }
Loading required package: sf
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
Loading required package: terra
terra 1.8.86
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
Saving _problems/test-10-RapData-42.R
Saving _problems/test-13-rap-16.R
Saving _problems/test-13-rap-56.R
Saving _problems/test-13-rap-117.R
[ FAIL 4 | WARN 6 | SKIP 22 | PASS 253 ]
══ Skipped tests (22) ══════════════════════════════════════════════════════════
• On CRAN (4): 'test-01-rapr-internal-test.R:110:3',
'test-01-rapr-internal-test.R:150:3', 'test-07-DemandPoints.R:56:3',
'test-07-DemandPoints.R:79:3'
• {gurobi} is not installed (18): 'test-11-RapUnsolved.R:5:3',
'test-11-RapUnsolved.R:43:3', 'test-11-RapUnsolved.R:113:3',
'test-11-RapUnsolved.R:131:3', 'test-11-RapUnsolved.R:153:3',
'test-11-RapUnsolved.R:178:3', 'test-11-RapUnsolved.R:206:3',
'test-11-RapUnsolved.R:258:3', 'test-11-RapUnsolved.R:311:3',
'test-11-RapUnsolved.R:333:3', 'test-11-RapUnsolved.R:357:3',
'test-11-RapUnsolved.R:382:3', 'test-11-RapUnsolved.R:407:3',
'test-11-RapUnsolved.R:434:3', 'test-11-RapUnsolved.R:452:3',
'test-11-RapUnsolved.R:493:3', 'test-13-rap.R:78:3', 'test-13-rap.R:138:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-10-RapData.R:40:3'): make.RapData (single species) ─────────────
<Rcpp::exception/C++Error/error/condition>
Error: OGRCreateCoordinateTransformation(): transformation not available
Backtrace:
▆
1. └─raptr::make.RapData(cs_pus[1:10, ], cs_spp[[1]], cs_space, include.geographic.space = TRUE) at test-10-RapData.R:40:3
2. ├─sf::st_transform(projPolygons, sf::st_crs(species))
3. └─sf:::st_transform.sf(projPolygons, sf::st_crs(species))
4. ├─sf::st_transform(st_geometry(x), crs, ...)
5. └─sf:::st_transform.sfc(st_geometry(x), crs, ...)
6. ├─sf::st_sfc(...)
7. ├─base::structure(...)
8. └─sf:::CPL_transform(...)
── Error ('test-13-rap.R:7:3'): rap (unreliable - default RapOpts and GurobiOpts - solve=FALSE) ──
<Rcpp::exception/C++Error/error/condition>
Error: OGRCreateCoordinateTransformation(): transformation not available
Backtrace:
▆
1. └─raptr::rap(...) at test-13-rap.R:7:3
2. ├─raptr::RapUnsolved(...)
3. │ └─methods::new("RapUnsolved", opts = opts, data = data)
4. │ ├─methods::initialize(value, ...)
5. │ └─methods::initialize(value, ...)
6. ├─base::do.call(...)
7. └─raptr (local) `<fn>`(...)
8. ├─sf::st_transform(projPolygons, sf::st_crs(species))
9. └─sf:::st_transform.sf(projPolygons, sf::st_crs(species))
10. ├─sf::st_transform(st_geometry(x), crs, ...)
11. └─sf:::st_transform.sfc(st_geometry(x), crs, ...)
12. ├─sf::st_sfc(...)
13. ├─base::structure(...)
14. └─sf:::CPL_transform(...)
── Error ('test-13-rap.R:45:3'): rap (unreliable - default RapOpts and GurobiOpts and sparse occupancy - solve=FALSE) ──
<Rcpp::exception/C++Error/error/condition>
Error: OGRCreateCoordinateTransformation(): transformation not available
Backtrace:
▆
1. └─raptr::rap(...) at test-13-rap.R:45:3
2. ├─raptr::RapUnsolved(...)
3. │ └─methods::new("RapUnsolved", opts = opts, data = data)
4. │ ├─methods::initialize(value, ...)
5. │ └─methods::initialize(value, ...)
6. ├─base::do.call(...)
7. └─raptr (local) `<fn>`(...)
8. ├─sf::st_transform(projPolygons, sf::st_crs(species))
9. └─sf:::st_transform.sf(projPolygons, sf::st_crs(species))
10. ├─sf::st_transform(st_geometry(x), crs, ...)
11. └─sf:::st_transform.sfc(st_geometry(x), crs, ...)
12. ├─sf::st_sfc(...)
13. ├─base::structure(...)
14. └─sf:::CPL_transform(...)
── Error ('test-13-rap.R:107:3'): rap (reliable - default RapOpts and GurobiOpts - solve=FALSE) ──
<Rcpp::exception/C++Error/error/condition>
Error: OGRCreateCoordinateTransformation(): transformation not available
Backtrace:
▆
1. └─raptr::rap(...) at test-13-rap.R:107:3
2. ├─raptr::RapUnsolved(...)
3. │ └─methods::new("RapUnsolved", opts = opts, data = data)
4. │ ├─methods::initialize(value, ...)
5. │ └─methods::initialize(value, ...)
6. ├─base::do.call(...)
7. └─raptr (local) `<fn>`(...)
8. ├─sf::st_transform(projPolygons, sf::st_crs(species))
9. └─sf:::st_transform.sf(projPolygons, sf::st_crs(species))
10. ├─sf::st_transform(st_geometry(x), crs, ...)
11. └─sf:::st_transform.sfc(st_geometry(x), crs, ...)
12. ├─sf::st_sfc(...)
13. ├─base::structure(...)
14. └─sf:::CPL_transform(...)
[ FAIL 4 | WARN 6 | SKIP 22 | PASS 253 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64