Skip to content

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

0packages depend
4Kdownloads / year
43.2%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.1
  • 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

CRAN checks
13OK
Slowest check: 1.7 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMENoVignettesNoNEWSYes · 100% structured · mentions 1.1.1Citation fileNoWebsitenot declared in DESCRIPTION
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

4K
CRAN downloads in the past year
Rank #11,687 · ~11/day · ~334/mo
Daily download trend is not available in this view yet.
36530 days
92290 days
4K1 year
Compare downloads with other packages →
Also on73 r2u4 autocran

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.1 (2023)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.1Latest
    record
    2026-03-28 · current release · diff ↗ ·
    removed 2 exports
    calc_all_Ks, install_pymyami
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.1
    record
    2023-12-19 · diff ↗
  • 0.3.0
    record
    2023-12-19 · diff ↗ ·
    added 4 exports
    calc_K, calc_all_Ks, calc_seawater_correction, install_pymyami
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.1
    record
    2023-03-17
  • R
    R 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")
Mayk, D. (2026). kgen: A Tool for Calculating Stoichiometric Equilibrium Constants (Ks) for Seawater (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for kgen version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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