* using log directory ‘/Users/ripley/R/packages/tests-devel/camtrapR.Rcheck’ * using R Under development (unstable) (2026-01-25 r89329) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘camtrapR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘camtrapR’ version ‘3.0.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘camtrapR’ can be installed ... [18s/18s] OK * checking installed package size ... INFO installed size is 10.9Mb sub-directories of 1Mb or more: R 2.1Mb doc 4.0Mb pictures 4.2Mb * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [20s/20s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘test-all.R’ [35s/33s] [35s/34s] ERROR 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 sh: sysctl: command not found Saving _problems/test-communityModels-241.R ===== 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%) ------------------------------------------------------- [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-01-26/CTtable.csv (deflated 47%) adding: surveyReport_2026-01-26/activity/activity_density_EGY_2026-01-26.png (deflated 7%) adding: surveyReport_2026-01-26/activity/activity_density_MNE_2026-01-26.png (deflated 11%) adding: surveyReport_2026-01-26/activity/activity_density_PBE_2026-01-26.png (deflated 7%) adding: surveyReport_2026-01-26/activity/activity_density_TRA_2026-01-26.png (deflated 6%) adding: surveyReport_2026-01-26/activity/activity_density_VTA_2026-01-26.png (deflated 7%) adding: surveyReport_2026-01-26/detectionMaps/Presence_EGY_2026-01-26.png (deflated 20%) adding: surveyReport_2026-01-26/detectionMaps/Presence_MNE_2026-01-26.png (deflated 22%) adding: surveyReport_2026-01-26/detectionMaps/Presence_PBE_2026-01-26.png (deflated 19%) adding: surveyReport_2026-01-26/detectionMaps/Presence_TRA_2026-01-26.png (deflated 21%) adding: surveyReport_2026-01-26/detectionMaps/Presence_VTA_2026-01-26.png (deflated 20%) adding: surveyReport_2026-01-26/detectionMaps/n_Species_2026-01-26.png (deflated 18%) adding: surveyReport_2026-01-26/readme.txt (deflated 72%) adding: surveyReport_2026-01-26/recordTable.csv (deflated 83%) adding: surveyReport_2026-01-26/scripts/camtrapR_scripts.R (deflated 70%) adding: surveyReport_2026-01-26/surveyReport/events_by_species.csv (deflated 30%) adding: surveyReport_2026-01-26/surveyReport/events_by_station.csv (deflated 54%) adding: surveyReport_2026-01-26/surveyReport/events_by_station2.csv (deflated 65%) adding: surveyReport_2026-01-26/surveyReport/species_by_station.csv (deflated 30%) adding: surveyReport_2026-01-26/surveyReport/survey_dates.csv (deflated 55%) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 478 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-speciesAccum.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-communityModels.R:241:5'): JAGS workflow (fit, plot, predict) runs correctly ── Error in `system("sysctl hw.memsize", intern = TRUE)`: error in running command Backtrace: ▆ 1. ├─stats::predict(...) at test-communityModels.R:241:5 2. └─camtrapR::predict(...) 3. └─camtrapR (local) .local(object, ...) 4. └─base::system("sysctl hw.memsize", intern = TRUE) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 478 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/camtrapR.Rcheck/00check.log’ for details. 156.96 real 146.26 user 11.17 sys