CRAN Package Check Results for Package raptr

Last updated on 2026-08-10 10:50:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 170.78 395.32 566.10 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.1 120.93 274.47 395.40 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 126.00 224.47 350.47 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.1 149.00 244.32 393.32 NOTE
r-devel-windows-x86_64 1.0.1 178.00 364.00 542.00 NOTE
r-patched-linux-x86_64 1.0.1 157.55 355.49 513.04 OK
r-release-linux-x86_64 1.0.1 159.59 356.03 515.62 OK
r-release-macos-arm64 1.0.1 33.00 58.00 91.00 OK
r-release-macos-x86_64 1.0.1 95.00 318.00 413.00 OK
r-release-windows-x86_64 1.0.1 180.00 361.00 541.00 OK
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 88.00 241.00 329.00 OK
r-oldrel-windows-x86_64 1.0.1 220.00 489.00 709.00 OK

Check Details

Version: 1.0.1
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: raptr/R/RapData.R (.Names: 2, .Dim: 1, .Dimnames: 1) raptr/R/RapSolved.R (.Dim: 1, .Dimnames: 1) raptr/R/raptr-internal.R (.Names: 1) raptr/tests/testthat/test-01-rapr-internal-test.R (.Names: 1) '.Names' should be changed to 'names'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'. 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

Version: 1.0.1
Check: Rd contents
Result: NOTE Rd files without \usage: ‘summary.Rd’ \arguments should not be documented without \usage. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/48s] 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.14.1, GDAL 3.13.2, PROJ 9.8.1; sf_use_s2() is TRUE Loading required package: terra terra 1.9.34 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Saving _problems/test-07-DemandPoints-29.R [ FAIL 1 | WARN 33 | SKIP 22 | PASS 303 ] ══ 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-07-DemandPoints.R:29:3'): demand.points (ks, geographic space) ── Error in `.local(x, n, type, ...)`: cannot sample in zero-area polygons Backtrace: ▆ 1. └─raptr::make.DemandPoints(points = pts, n = 100L, kernel.method = "ks") at test-07-DemandPoints.R:29:3 2. └─raptr:::demand.points.density2d(...) 3. ├─sp::spsample(...) 4. └─sp::spsample(...) 5. └─sp (local) .local(x, n, type, ...) [ FAIL 1 | WARN 33 | SKIP 22 | PASS 303 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc