Mass-Preserving Spline Functions for Soil Data
Overview
A low-dependency implementation of GSIF::mpspline() https://r-forge.r-project.org/scm/viewvc.php/pkg/R/mpspline.R?view=markup&revision=240&root=gsif, which applies a mass-preserving spline to soil attributes. Splining soil data is a safe way to make continuous down-profile estimates of attributes measured over discrete, often discontinuous depth intervals.
- Add ability to spline multiple variables at once, resolving #10 (thanks to @brownag for this update)
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
- 8 (5 internal)
- 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
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 382
- Median days to close, 50 most recently updated closed PRs
- 0
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/obrl-soil/mpspline2 on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing mpspline2 adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.9Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.62022-04-03 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.32020-07-13
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-07-13
- Total releases
- 3 / 6 yrs
- License
- GPL
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mpspline2")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-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.