kgen: A Tool for Calculating Stoichiometric Equilibrium Constants (Ks) for Seawater

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.

Version: 1.1.1
Depends: R (≥ 4.0)
Imports: rjson (≥ 0.2.21), reticulate (≥ 1.42.0), checkmate (≥ 2.1.0), data.table (≥ 1.14.6)
Suggests: future (≥ 1.58.0), progressr (≥ 0.15.1), future.apply (≥ 1.20.0), testthat (≥ 3.0.0)
Published: 2026-03-28
DOI: 10.32614/CRAN.package.kgen
Author: Dennis Mayk ORCID iD [aut, cre]
Maintainer: Dennis Mayk <dm807 at cantab.ac.uk>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: kgen results

Documentation:

Reference manual: kgen.html , kgen.pdf

Downloads:

Package source: kgen_1.1.1.tar.gz
Windows binaries: r-devel: kgen_0.3.1.zip, r-release: kgen_0.3.1.zip, r-oldrel: kgen_0.3.1.zip
macOS binaries: r-release (arm64): kgen_0.3.1.tgz, r-oldrel (arm64): kgen_0.3.1.tgz, r-release (x86_64): kgen_1.1.1.tgz, r-oldrel (x86_64): kgen_1.1.1.tgz
Old sources: kgen archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=kgen to link to this page.