stockR
1.0.76Identifying Stocks in Genetic Data
0packages depend
2.3Kdownloads / year
–test coverage
11/13checks pass
Overview
About
Provides a mixture model for clustering individuals (or sampling groups) into stocks based on their genetic profile. Here, sampling groups are individuals that are sure to come from the same stock (e.g. breeding adults or larvae). The mixture (log-)likelihood is maximised using the EM-algorithm after finding good starting values via a K-means clustering of the genetic data. Details can be found in: Foster, S. D.; Feutry, P.; Grewe, P. M.; Berry, O.; Hui, F. K. C. & Davies (2020) doi:10.1111/1755-0998.12920.
Install
Health
CRAN checks
2NOTE11OK
Failing flavors
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 5.3 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
- NOTE2026-07-1112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-2713 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-1412 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 3 earlier snapshots
- OK2026-04-2913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-04-2812 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
- Examples that run
- 40%
- Documented parameters
- 86%
- Return-value docs
- 100%
- References docs
- 60%
Downloads
2.3K
CRAN downloads in the past year
Rank #18,525 · ~6/day · ~192/mo
Daily download trend is not available in this view yet.
19830 days
61090 days
2.3K1 year
Also on393 r2u33 autocran
Dependencies
Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (6)
RcppstatsgtoolsparallelRColorBrewermethods
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
People & History
People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.76Latest
- unarchivedReturned to CRAN2023-04-26
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-04-07issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.742020-03-04 · diff ↗
- 1.0.732020-02-06 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.682018-06-14
- RR 3.5.0 released · 2018-04-23
0 of 2 selectedCompare selected
Package metadata
- First published
- 2018-06-14
- Total releases
- 4 / 8 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10
- Download size
- 464 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet