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

2K

Last 30 days

2829th

2K

Last 90 days

2K

Last year

CRAN Check Status

1 WARNING
3 NOTE
10 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 WARNING
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
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 (16 non-OK)
OK 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

*


            
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 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile]
  18c: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile]
        | :18: warning: volatile-qualified parameter type 'const volatile char' is deprecated [-Wdeprecated-volatile]
    255 |     s18  422 |       : warning:      volatile-qualified parameter type 'const volatile unsigned char' is deprecated [-Wdeprecated-volatile]
  : warning: volatile-qualified parameter type 'const volatile signed char' is deprecated [-Wdeprecated-volatile]
  r(value_type a_value226:18: warning: volatile-qualified parameter type 'const volatile wchar_t' is deprecated [-Wdeprecated-volatile]
  e18: warning: volatile-qualified parameter type 'const volatile short' is deprecated [-Wdeprecated-volatile]
        a:18: warning: | _^volatile-qualified parameter type 'const 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’
OK r-devel-windows-x86_64

*


            
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.
OK 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

*


            

Check History

WARNING 10 OK · 3 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 9, 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 'const volatile unsigned long long' is deprecated [-Wdeprecated-volatile]
  18c: warning: volatile-qualified parameter type 'const volatile unsigned long' is deprecated [-Wdeprecated-volatile]
        | :18: warning: volatile-qualified parameter typ
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 9, 2026