sspm
Spatial Surplus Production Model Framework for Northern Shrimp Populations
Description
Implement a GAM-based (Generalized Additive Models) spatial surplus production model (spatial SPM), aimed at modeling northern shrimp population in Atlantic Canada but potentially to any stock in any location. The package is opinionated in its implementation of SPMs as it internally makes the choice to use penalized spatial gams with time lags. However, it also aims to provide options for the user to customize their model. The methods are described in Pedersen et al. (2022, <https://www.dfo-mpo.gc.ca/csas-sccs/Publications/ResDocs-DocRech/2022/2022_062-eng.html>).
Downloads
255
Last 30 days
17254th
624
Last 90 days
2.2K
Last year
Trend: +10.9% (30d vs prior 30d)
CRAN Check Status
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 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | 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 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 2, 2026
tests
Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sspm) Loading required package: sf Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE Loading require ...[truncated]... assuming WGS 84 CRS is to be used for casting i Casting data matrix into simple feature collection using columns: lon_dec, lat_dec ! Warning: sspm is assuming WGS 84 CRS is to be used for casting i Discretizing using method tesselate_voronoi
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 28, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'An_example_with_simulated_data.Rmd' using rmarkdown --- re-building 'Package_and_workflow_design.Rmd' using rmarkdown --- finished re-building 'Package_and_workflow_design.Rmd' SUMMARY: processing the following file failed: 'An_example_with_simulated_data.Rmd' Error: Vignette re-building failed. Execution halted