Skip to content

stockR

1.0.76Package record

Identifying Stocks in Genetic Data

0packages depend
2.3Kdownloads / year
–test coverage
11/13flavors OK

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
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘plot.stockBOOT.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 5.6 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-27
  • WARNING12 OK, 1 WARNING2026-06-14
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
Show 3 earlier changesHide 3 earlier changes
  • OK13 OK2026-04-29
  • WARNING12 OK, 1 WARNING2026-04-28
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.76
READMENoVignettesYes · 1 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
5
Examples that run
40%2 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
86%
Return-value docs
100%
Help pages citing references
60%
Vignettes (1)

Downloads

2.3K
CRAN downloads in the past year
Rank #20,965 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
22530 days
63990 days
2.3K1 year
Compare downloads with other packages →
Also on354 r2u7 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing stockR adds 3 packages (2 with compiled code, 2.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, gtools 236 KB, RColorBrewer 11 KB.

Depends (1)
R >= 2.10
Imports (6)
RcppstatsgtoolsparallelRColorBrewermethods
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.68 (2018)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-04-26
  • 1.0.76Latest
    record
    2023-04-26 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-04-07
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.74
    record
    2020-03-04 · diff ↗
  • 1.0.73
    record
    2020-02-06 · diff ↗ ·
    added 1 export
    plot.stockBOOT.object
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.68
    record
    2018-06-14
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-06-14
Total releases
4 / 8 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.10
Download size
464 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("stockR")

The package provides a citation file, so citation() returns the authors' own entry.

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

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