Skip to content

camtrapR

3.1.0Package record

Camera Trap Data Management and Analysis Framework

0packages dependsuggested by 1
17.7Kdownloads / year
46.2%test coverage
13/13flavors OK

Overview

About

Management and analysis of camera trap wildlife data through an integrated workflow. Provides functions for image/video organization and metadata extraction, species/individual identification. Creates detection histories for occupancy and spatial capture-recapture analyses, with support for multi-season studies. Includes tools for fitting community occupancy models in JAGS and NIMBLE, and an interactive dashboard for survey data visualization and analysis. Features visualization of species distributions and activity patterns, plus export capabilities for GIS and reports. Emphasizes automation and reproducibility while maintaining flexibility for different study designs.

Changes in 3.1.0

New function

  • simulateCamtrapData(): simulate camera trap data with custom properties (e.g. for testing, examples and teaching)

New features

surveyDashboard

  • new welcome screen (modal dialog) on startup
  • new data-quality and convergence warning system, flagging potential problems with input data and model fit (modal dialog and sidebar)
  • new date range filter for records
  • new instructions for CSV uploads, with links to relevant functions
  • stricter validation of CSV uploads: a CRS must now be provided (numeric EPSG codes accepted); uploads abort with an informative modal dialog if the loaded table has only one column (wrong delimiter) or if the camera trap table contains duplicate station/camera combinations
  • maximum csv file upload size increased to 500 MB (was 10Mb)
  • single-species occupancy: new warning UI, improved printing of model summaries and species names, fitted models can now be exported, unmarkedFrame summary shown in a separate tab
  • community occupancy: model file name is now printed in the UI
Show all changes in 3.1.0Hide the rest of the changes in 3.1.0
  • added GitHub and Google Group links to the header;
  • record preview in the filter section is collapsed by default; various label, tooltip and progress-indicator improvements

Occupancy models

  • community occupancy models (commOccu) can now be fitted from JAGS model code stored in the new modelText slot, without an external model file
  • createCovariates() now accept plain data frames with coordinates (new arguments xcol, ycol, crs; converted to sf internally)
  • consistent terminology: "community models" instead of "multi-species models"

Data import

  • the Camtrap DP interface was rewritten throughout and now uses the camtrapdp package for reading data packages
  • readcamtrapDP renamed to readCamtrapDP (capitalisation in line with official name)
  • more tolerant Camtrap DP import: missing vernacularNames are generated from scientific names and observation type; missing placename falls back to the deployment ID (with a warning); informative error if all timestamps fail to parse
  • activity estimation with Camtrap DP data now uses only observations of type "event"

Improved displays and summary functions

  • recordTable, recordTableIndividual & filterRecordTable now return an object of class "records" with dedicated print, [, summary, and dplyr_reconstruct methods
  • cameraOperation now returns an object of class "camOp" with dedicated print, [, summary, and plot methods
  • detectionHistory now returns an object of class "detHist" with dedicated print and [ methods
  • readCamtrapDP now returns an object of class "cams_dp" with a dedicated print method
  • camera tables contained in readCamtrapDP and simulateCamtrapData outputs are now of class "cams" with a dedicated print method
  • internal function stripClass to remove added (S3) class and attributes

Other changes

  • new vignette 6 introducing the surveyDashboard (with sample data)
  • surveyDashboard: documentation expanded (new section on Bayesian priors, more details on model fitting challenges)
  • new package dependencies: camtrapdp, checkmate, crayon, tibble (the latter two now direct rather than indirect dependencies)

Bugfixes

  • surveyDashboard:
  • fixed several reactivity issues (records not resetting when loading new Camtrap DP data with active filters; number of removed images not updating; broken model selection table)
  • fixed error in export of covariate rasters
  • assert validity of parameter inputs (prevents opening app when e.g. column names specified wrongly)
  • fixed model selection table for ubms 1.2.9
  • ubms models now uses 1 core by default (faster than 3 cores for short runs)
  • plot_coef(): fixed colors of plot lines by significance level in community model plots
  • fixed wrong color ramp being applied to the original rasters in spatial prediction plots
  • more robust aggregation of the camera trap table (all columns checked first, clearer error messages)
  • fixed ggplot2 warning by replacing ylab() with labs()

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 15.0 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-20
  • ERROR12 OK, 1 ERROR2026-08-18
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-23
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-14
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 3.1.0
READMEYes · 475 wordsVignettesYes · 6 · staticNEWSYes · 100% structured · mentions 3.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
62 (13 internal)includes a package overview page
Examples that run
41%15 run in a plain check (2 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran) · 21 never run
Exported functions with examples
94%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
26%

Downloads

17.7K
CRAN downloads in the past year
Rank #3,192 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.5K30 days
3.7K90 days
17.7K1 year
Compare downloads with other packages →
Also on317 r2u10 autocran

Repository

45Stars
7Forks
21Open issues
0Open PRs
3Releases
886Commits
2Commit identities
wildlifeoccupancy-modelingspatial-capture-recapturerstats
886 commits · Last activity 2026-10-03 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
67%
Median days to close, 50 most recently updated closed issues
50
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-09-29 · 372026-07-07 · 45
PracticesBeta

14 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/jniedballa/camtrapr on 2026-10-18.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Contributing guideFunding

Funding links: gofundme.com, paypal.com

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-03

Coverage (2)
Coverage reporting.covrignore
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (2)
VS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (11)
Author, Maintainer since 0.97.0 (2015)
Author · added in 0.98.0
Contributor · added in 2.2.0
Contributor · added in 2.2.0
Contributor · added in 0.98.0
Contributor · added in 0.98.0
Contributor · added in 0.98.0
Contributor · added in 0.98.0
Contributor, Thesis advisor · added in 0.98.0
Contributor · added in 0.98.0
Listed in earlier versions (1)
Alexandre Courtiol Rahel Sollmann Andreas Wilting John Mathai Seth Timothy Wong An The Truong Nguyen Azlan bin Mohamed Andrew Tilker
no longer listed · 0.97.1
Releases (31)

Pick two releases to compare their code metrics.

  • 3.1.0Latest
    record
    2026-07-28 · current release · diff ↗ ·
    removed 1 export
    readcamtrapDP
    added 2 exports
    readCamtrapDP, simulateCamtrapData
  • unarchivedReturned to CRAN
    2026-04-30
  • 3.0.4
    record
    2026-04-30 · diff ↗
  • archivedRemoved from CRAN
    2026-04-28
    issues were not corrected in time
  • R
    R 4.6.0 released · 2026-04-24
  • 3.0.3
    record
    2026-02-09 · diff ↗
  • 3.0.2
    record
    2026-01-25 · diff ↗
  • 3.0.0
    record
    2025-09-28 · diff ↗ ·
    added 7 exports
    PPC.community, PPC.residuals, aggregateStations, createCovariates, readWildlifeInsights, readcamtrapDP, speciesAccum
  • 2.3.1
    record
    2025-09-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2024-02-26
  • 2.3.0
    record
    2024-02-26 · diff ↗ ·
    removed 1 export
    exiftoolPath
    added 3 exports
    addToPath, filterRecordTable, surveyDashboard
  • archivedRemoved from CRAN
    2023-12-15
    requires orphaned package 'overlap'
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-05-11
Show 33 earlier eventsHide 33 earlier events
  • 2.2.0
    record
    2022-05-11 · diff ↗ ·
    added 3 exports
    OCRdataFields, communityModel, writeDateTimeOriginal
  • archivedRemoved from CRAN
    2022-05-09
    check problems were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.3
    record
    2020-07-29 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.2
    record
    2020-04-23 · diff ↗
  • 2.0.1
    record
    2020-04-20 · diff ↗
  • 2.0.0
    record
    2020-04-17 · diff ↗
  • 1.2.3
    record
    2020-01-10 · diff ↗
  • 1.2.2
    record
    2020-01-07 · diff ↗
  • 1.2.1
    record
    2019-12-17 · diff ↗
  • 1.2
    record
    2019-12-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1
    record
    2019-03-13 · diff ↗
  • 1.0
    record
    2018-10-27 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.99.9
    record
    2017-10-25 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.99.8
    record
    2017-03-21 · diff ↗
  • 0.99.7
    record
    2017-01-31 · diff ↗
  • 0.99.6
    record
    2016-12-20 · diff ↗ ·
    added 1 export
    fixDateTimeOriginal
  • 0.99.5
    record
    2016-10-06 · diff ↗
  • 0.99.4
    record
    2016-08-12 · diff ↗
  • 0.99.3
    record
    2016-08-01 · diff ↗ ·
    added 1 export
    addCopyrightTag
  • 0.99.2
    record
    2016-06-24 · diff ↗
  • 0.99.1
    record
    2016-05-18 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.99.0
    record
    2016-04-12 · diff ↗ ·
    removed 3 exports
    checkSpeciesFolders, recordDatabase, recordDatabaseIndividual
    added 5 exports
    checkSpeciesIdentification, checkSpeciesNames, createStationFolders, recordTable, recordTableIndividual
  • 0.98.0
    record
    2015-11-16 · diff ↗ ·
    added 2 exports
    recordDatabaseIndividual, spatialDetectionHistory
  • 0.97.1
    record
    2015-08-05 · diff ↗ ·
    removed 1 export
    TimeShiftImages
    added 1 export
    timeShiftImages
  • 0.97.0
    record
    2015-07-29
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-29
Total releases
31 / 11 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
7.0 KB / 7 files
Download size
6.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("camtrapR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1111/2041-210x.12600.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for camtrapR version 3.1.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy