CRAN Package Check Results for Package camtrapR

Last updated on 2026-04-14 00:50:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.3 63.68 637.90 701.58 OK
r-devel-linux-x86_64-debian-gcc 3.0.3 43.72 421.38 465.10 OK
r-devel-linux-x86_64-fedora-clang 3.0.3 116.00 979.50 1095.50 ERROR
r-devel-linux-x86_64-fedora-gcc 3.0.3 127.00 1093.54 1220.54 OK
r-devel-macos-arm64 3.0.3 16.00 90.00 106.00 OK
r-devel-windows-x86_64 3.0.3 67.00 369.00 436.00 OK
r-patched-linux-x86_64 3.0.3 64.76 609.05 673.81 OK
r-release-linux-x86_64 3.0.3 54.96 597.96 652.92 OK
r-release-macos-arm64 3.0.3 16.00 101.00 117.00 OK
r-release-macos-x86_64 3.0.3 51.00 759.00 810.00 OK
r-release-windows-x86_64 3.0.3 64.00 0.00 64.00 OK
r-oldrel-macos-arm64 3.0.3 16.00 103.00 119.00 NOTE
r-oldrel-macos-x86_64 3.0.3 53.00 807.00 860.00 NOTE
r-oldrel-windows-x86_64 3.0.3 93.00 504.00 597.00 NOTE

Check Details

Version: 3.0.3
Check: tests
Result: ERROR Running ‘test-all.R’ [266s/348s] 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 Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 33 Total graph size: 386 Initializing model NOTE: Stopping adaptation Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 32 Total graph size: 465 Initializing model NOTE: Stopping adaptation ===== Monitors ===== thin = 1: alpha.obs.fixed.cont.effort, alpha0, beta.fixed.categ.some_factor, beta.fixed.cont.utm_y, beta0 ===== Samplers ===== RW sampler (5) - beta0 - alpha0 - alpha.obs.fixed.cont.effort - beta.fixed.cont.utm_y - beta.fixed.categ.some_factor[] (1 element) |-------------|-------------|-------------|-------------| |-------------------------------------------------------| |-------------|-------------|-------------|-------------| |-------------------------------------------------------| |-------------|-------------|-------------|-------------| |-------------------------------------------------------| Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 22 Total graph size: 331 Initializing model NOTE: Stopping adaptation Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 57 Total graph size: 513 Initializing model NOTE: Stopping adaptation Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 30 Total graph size: 313 Initializing model NOTE: Stopping adaptation Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 31 Total graph size: 313 Initializing model NOTE: Stopping adaptation Compiling model graph Resolving undeclared variables Allocating nodes Graph information: Observed stochastic nodes: 105 Unobserved stochastic nodes: 43 Total graph size: 353 Initializing model NOTE: Stopping adaptation 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 ------------------------------------------------------- [1] "Total number of stations: 3" ------------------------------------------------------- [1] "Number of operational stations: 3" ------------------------------------------------------- [1] "Trap nights (number of active 24 hour cycles completed by independent cameras): 128" ------------------------------------------------------- [1] "Calendar days with cameras set up (operational or not): 131" ------------------------------------------------------- [1] "Calendar days with cameras set up and active: 131" ------------------------------------------------------- [1] "Calendar days with cameras set up but inactive: 0" ------------------------------------------------------- [1] "total trapping period: 2009-04-02 - 2009-05-17" ------------------------------------------------------- [1] "Total number of stations: 3" ------------------------------------------------------- [1] "Number of operational stations: 3" ------------------------------------------------------- [1] "Trap nights (number of active 24 hour cycles completed by independent cameras): 128" ------------------------------------------------------- [1] "Calendar days with cameras set up (operational or not): 131" ------------------------------------------------------- [1] "Calendar days with cameras set up and active: 131" ------------------------------------------------------- [1] "Calendar days with cameras set up but inactive: 0" ------------------------------------------------------- [1] "total trapping period: 2009-04-02 - 2009-05-17" ------------------------------------------------------- [1] "Total number of stations: 3" ------------------------------------------------------- [1] "Number of operational stations: 3" ------------------------------------------------------- [1] "Trap nights (number of active 24 hour cycles completed by independent cameras): 122.5" ------------------------------------------------------- [1] "Calendar days with cameras set up (operational or not): 131" ------------------------------------------------------- [1] "Calendar days with cameras set up and active: 125" ------------------------------------------------------- [1] "Calendar days with cameras set up but inactive: 6" ------------------------------------------------------- [1] "total trapping period: 2009-04-02 - 2009-05-17" adding: surveyReport_2026-04-12/CTtable.csv (deflated 47%) adding: surveyReport_2026-04-12/activity/activity_density_EGY_2026-04-12.png (deflated 6%) adding: surveyReport_2026-04-12/activity/activity_density_MNE_2026-04-12.png (deflated 11%) adding: surveyReport_2026-04-12/activity/activity_density_PBE_2026-04-12.png (deflated 7%) adding: surveyReport_2026-04-12/activity/activity_density_TRA_2026-04-12.png (deflated 6%) adding: surveyReport_2026-04-12/activity/activity_density_VTA_2026-04-12.png (deflated 7%) adding: surveyReport_2026-04-12/detectionMaps/Presence_EGY_2026-04-12.png (deflated 21%) adding: surveyReport_2026-04-12/detectionMaps/Presence_MNE_2026-04-12.png (deflated 20%) adding: surveyReport_2026-04-12/detectionMaps/Presence_PBE_2026-04-12.png (deflated 19%) adding: surveyReport_2026-04-12/detectionMaps/Presence_TRA_2026-04-12.png (deflated 20%) adding: surveyReport_2026-04-12/detectionMaps/Presence_VTA_2026-04-12.png (deflated 20%) adding: surveyReport_2026-04-12/detectionMaps/n_Species_2026-04-12.png (deflated 18%) adding: surveyReport_2026-04-12/readme.txt (deflated 67%) adding: surveyReport_2026-04-12/recordTable.csv (deflated 83%) adding: surveyReport_2026-04-12/scripts/camtrapR_scripts.R (deflated 70%) adding: surveyReport_2026-04-12/surveyReport/events_by_species.csv (deflated 30%) adding: surveyReport_2026-04-12/surveyReport/events_by_station.csv (deflated 54%) adding: surveyReport_2026-04-12/surveyReport/events_by_station2.csv (deflated 65%) adding: surveyReport_2026-04-12/surveyReport/species_by_station.csv (deflated 30%) adding: surveyReport_2026-04-12/surveyReport/survey_dates.csv (deflated 55%) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 519 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • 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 0 | SKIP 1 | PASS 519 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.0.3
Check: installed package size
Result: NOTE installed size is 10.9Mb sub-directories of 1Mb or more: R 2.1Mb doc 4.0Mb pictures 4.2Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64