Skip to content

Spatial Surplus Production Model Framework for Northern Shrimp Populations

0packages depend
2.6Kdownloads / year
91.7%test coverage
13/13flavors OK

Overview

About

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

Changes in 1.1.0
  • fixing tests in anticipation of a change in mgcv

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-09
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-08
Show 8 earlier changesHide 8 earlier changes
  • WARNING12 OK, 1 WARNING2026-05-07
  • OK14 OK2026-04-11
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-04-04
  • ERROR13 OK, 1 ERROR2026-04-02
  • OK14 OK2026-03-29
  • ERROR13 OK, 1 ERROR2026-03-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 455 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.1.0Citation fileNoWebsiteYes · pkgdown
Help pages
42 (4 internal)includes a package overview page
Examples that run
52%14 run in a plain check · 13 never run
Exported functions with examples
89%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #15,504 · ~7/day · ~215/mo
Daily download trend is not available in this view yet.
31430 days
79190 days
2.6K1 year
Compare downloads with other packages →
Also on106 r2u5 autocran

Repository

3Stars
1Forks
5Open issues
0Open PRs
13Releases
1,658Commits
5Commit identities
gamsurplusmodelspatialr
1,658 commits · Last activity 2025-11-11
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
167
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2023-07-06 · 32026-07-07 · 3
PracticesBeta

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

Checks run against github.com/pedersen-fisheries-lab/sspm on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-11-11 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
renv
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing sspm adds 31 packages (22 with compiled code, 35 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, s2 2.8 MB.

Depends (3)
R >= 3.5.0sfmgcv
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.9.1 (2022), Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2025-12-03
  • 1.1.0Latest
    record
    2025-12-03 · current release · diff ↗
  • archivedRemoved from CRAN
    2025-11-24
    email to the maintainer is undeliverable
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2025-02-12
  • 1.0.3
    record
    2025-02-12 · diff ↗ ·
    removed 3 exports
    dataset<-, dataset, plot_trajectory
    added 1 export
    summary
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-10-03
    check issues were not corrected despite reminders
  • 0.9.1
    record
    2022-05-12
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-12
Total releases
3 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
550 KB / 4 files
Download size
2.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sspm")
Lucet, V., & Pedersen, E. (2025). sspm: Spatial Surplus Production Model Framework for Northern Shrimp Populations (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.sspm

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

The repository also keeps a CITATION.cff.

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 sspm version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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