Skip to content

secr

Spatially Explicit Capture-Recapture

v5.4.2 · Feb 23, 2026 · GPL (>= 2)

Description

Functions to estimate the density and size of a spatially distributed animal population sampled with an array of passive detectors, such as traps, or by searching polygons or transects. Models incorporating distance-dependent detection are fitted by maximizing the likelihood. Tools are included for data manipulation and model selection.

Downloads

1.5K

Last 30 days

3155th

5.5K

Last 90 days

29.9K

Last year

Trend: -28.9% (30d vs prior 30d)

CRAN Check Status

1 ERROR
2 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.8Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    libs   6.9Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.3Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    libs   6.4Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'secr-datainput.Rmd' using rmarkdown
! Package pdftex.def Error: File `54c84a4252bfb0a62c8c8e15e05f01d9361ab568.png'
 not found: using draft setting.

Error: processing vignette 'secr-datainput.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/secr.Rcheck/vign_test/secr/vignettes/secr-datainput.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See secr-datainput.log for more info.
--- failed re-building 'secr-datainput.Rmd'

--- re-building 'secr-overview.Rmd' using rmarkdown
! Package pdftex.def Error: File `e7e14071003290bed4184f1f3280f57dc9427b53.pdf'
 not found: using draft setting.

Error: processing vignette 'secr-overview.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/secr.Rcheck/vign_test/secr/vignettes/secr-overview.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See secr-overview.log for more info.
--- failed re-building 'secr-overview.Rmd'

SUMMARY: processing the following files failed:
  'secr-datainput.Rmd' 'secr-overview.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.8Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    libs   6.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.3Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    libs   6.4Mb
ERROR r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
WARNING 10 OK · 3 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
WARNING r-devel-macos-arm64

whether package can be installed

Found the following significant warnings:
  18: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile]
  In file included from :a./secr.hrter(v226:18: warning: volatile-qualified parameter type
...[truncated]...
 volatile wchar_t' is deprecated [-Wdeprecated-volatile]
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/secr.Rcheck/00install.out’ for details.
* used C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
* used SDK: ‘MacOSX14.5.sdk’
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.8Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    libs   6.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.3Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    libs   6.4Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Reverse Dependencies (6)

imports

suggests

Dependency Network

Dependencies Reverse dependencies secrfunc abind MASS mgcv mvtnorm nlme raster Rcpp RcppParallel sf stringr terra ipsecr openCR secrdesign secrlinear camtrapR ScatterDensity secr

Version History

new 5.4.2 Mar 10, 2026
updated 5.4.2 ← 5.4.1 diff Feb 23, 2026
updated 5.4.1 ← 5.3.0 diff Jan 10, 2026
updated 5.3.0 ← 5.2.4 diff Sep 26, 2025
updated 5.2.4 ← 5.2.1 diff Jun 12, 2025
updated 5.2.1 ← 5.2.0 diff Mar 17, 2025
updated 5.2.0 ← 5.1.0 diff Jan 23, 2025
updated 5.1.0 ← 5.0.0 diff Nov 3, 2024
updated 5.0.0 ← 4.6.10 diff Oct 1, 2024
updated 4.6.10 ← 4.6.9 diff Aug 21, 2024
updated 4.6.9 ← 4.6.7 diff Jun 28, 2024
updated 4.6.7 ← 4.6.6 diff Jun 4, 2024
updated 4.6.6 ← 4.6.5 diff Feb 28, 2024
updated 4.6.5 ← 4.6.4 diff Feb 16, 2024
updated 4.6.4 ← 4.6.1 diff Oct 17, 2023
updated 4.6.1 ← 4.6.0 diff Jul 10, 2023
updated 4.6.0 ← 4.5.10 diff May 22, 2023
updated 4.5.10 ← 4.5.8 diff Mar 9, 2023
updated 4.5.8 ← 4.5.7 diff Nov 28, 2022
updated 4.5.7 ← 4.5.6 diff Oct 7, 2022