CRAN Package Check Results for Package camtrapR

Last updated on 2026-10-27 05:58:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.1.0 73.65 706.39 780.04 OK
r-devel-linux-x86_64-debian-gcc 3.1.0 49.56 491.35 540.91 ERROR
r-devel-linux-x86_64-fedora-clang 3.1.0 65.00 507.46 572.46 OK
r-devel-linux-x86_64-fedora-gcc 3.1.0 54.00 491.71 545.71 OK
r-devel-windows-x86_64 3.1.0 77.00 446.00 523.00 OK
r-patched-linux-x86_64 3.1.0 75.09 690.06 765.15 OK
r-release-linux-x86_64 3.1.0 70.89 692.67 763.56 OK
r-release-macos-arm64 3.1.0 19.00 102.00 121.00 OK
r-release-macos-x86_64 3.1.0 56.00 738.00 794.00 OK
r-release-windows-x86_64 3.1.0 75.00 416.00 491.00 OK
r-oldrel-macos-arm64 3.1.0 18.00 105.00 123.00 OK
r-oldrel-macos-x86_64 3.1.0 61.00 836.00 897.00 OK
r-oldrel-windows-x86_64 3.1.0 110.00 604.00 714.00 OK

Check Details

Version: 3.1.0
Check: tests
Result: ERROR Running ‘test-all.R’ [149s/211s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library(testthat) > # test only if exiftool is available > if(Sys.which("exiftool") != ""){ + test_check("camtrapR") + } Loading required package: camtrapR Writing layer `test_detections' to data source `.' using driver `ESRI Shapefile' Writing 3 features with 7 fields and geometry type Point. adding: deployments.csv (deflated 54%) adding: images.csv (deflated 48%) Saving _problems/test-speciesAccum-77.R adding: surveyReport_2026-10-26/CTtable.csv (deflated 47%) adding: surveyReport_2026-10-26/activity/activity_density_EGY_2026-10-26.png (deflated 6%) adding: surveyReport_2026-10-26/activity/activity_density_MNE_2026-10-26.png (deflated 11%) adding: surveyReport_2026-10-26/activity/activity_density_PBE_2026-10-26.png (deflated 7%) adding: surveyReport_2026-10-26/activity/activity_density_TRA_2026-10-26.png (deflated 6%) adding: surveyReport_2026-10-26/activity/activity_density_VTA_2026-10-26.png (deflated 7%) adding: surveyReport_2026-10-26/detectionMaps/Presence_EGY_2026-10-26.png (deflated 20%) adding: surveyReport_2026-10-26/detectionMaps/Presence_MNE_2026-10-26.png (deflated 19%) adding: surveyReport_2026-10-26/detectionMaps/Presence_PBE_2026-10-26.png (deflated 19%) adding: surveyReport_2026-10-26/detectionMaps/Presence_TRA_2026-10-26.png (deflated 21%) adding: surveyReport_2026-10-26/detectionMaps/Presence_VTA_2026-10-26.png (deflated 19%) adding: surveyReport_2026-10-26/detectionMaps/n_Species_2026-10-26.png (deflated 17%) adding: surveyReport_2026-10-26/readme.txt (deflated 68%) adding: surveyReport_2026-10-26/recordTable.csv (deflated 81%) adding: surveyReport_2026-10-26/scripts/camtrapR_scripts.R (deflated 70%) adding: surveyReport_2026-10-26/surveyReport/events_by_species.csv (deflated 30%) adding: surveyReport_2026-10-26/surveyReport/events_by_station.csv (deflated 54%) adding: surveyReport_2026-10-26/surveyReport/events_by_station2.csv (deflated 65%) adding: surveyReport_2026-10-26/surveyReport/species_by_station.csv (deflated 30%) adding: surveyReport_2026-10-26/surveyReport/survey_dates.csv (deflated 55%) [ FAIL 1 | WARN 4 | SKIP 10 | PASS 584 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-app-surveyDashboard_builtin.R:9:3', 'test-app-surveyDashboard_builtin.R:28:3', 'test-app-surveyDashboard_builtin.R:50:3', 'test-app-surveyDashboard_builtin.R:81:3', 'test-app-surveyDashboard_builtin.R:101:3', 'test-app-surveyDashboard_builtin.R:131:3', 'test-app-surveyDashboard_builtin.R:153:3', 'test-app-surveyDashboard_camtrapdp.R:6:3', 'test-app-surveyDashboard_camtrapdp.R:23:3' • empty test (1): 'test-speciesAccum.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-speciesAccum.R:68:5'): it produces a valid iNEXT object with x_unit = 'survey_day' ── Error in `yi[i]:(nT - 1)`: NA/NaN argument Backtrace: ▆ 1. └─camtrapR::speciesAccum(...) at test-speciesAccum.R:68:5 2. └─iNEXT::iNEXT(...) 3. └─iNEXT:::AsyD(...) 4. └─base::lapply(...) 5. └─iNEXT (local) FUN(X[[i]], ...) 6. ├─base::apply(...) 7. └─base::apply(...) 8. └─iNEXT (local) FUN(newX[, i], ...) 9. └─iNEXT:::Diversity_profile.inc(yb, q) 10. └─base::sapply(c(1:length(yi)), function(i) delta(i)) 11. └─base::lapply(X = X, FUN = FUN, ...) 12. └─iNEXT (local) FUN(X[[i]], ...) 13. └─iNEXT (local) delta(i) [ FAIL 1 | WARN 4 | SKIP 10 | PASS 584 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc