A Tool for Calculating Stoichiometric Equilibrium Constants (Ks) for Seawater
Overview
A unified software package simultaneously implemented in 'Python', 'R', and 'Matlab' providing a uniform and internally-consistent way of calculating stoichiometric equilibrium constants in modern and palaeo seawater as a function of temperature, salinity, pressure and the concentration of magnesium, calcium, sulphate, and fluorine.
- Move future/progressr/future.apply to Suggests (CRAN compliance)
- Defer pymyami Python setup to first use (no side-effects at load time)
- Add runnable examples for all exported functions
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (1 internal)includes a package overview page
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 14%
Downloads
Dependencies
Installing kgen adds 14 packages (11 with compiled code, 12 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, reticulate 1.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.1Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.12023-12-19 · diff ↗
- 0.3.0
- RR 4.3.0 released · 2023-04-21
- 0.2.12023-03-17
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-03-17
- Total releases
- 4 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Download size
- 17 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("kgen")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.