Skip to content

soilFlux

0.1.5Package record

Physics-Informed Neural Networks for Soil Water Retention Curves

0packages depend
2.7Kdownloads / year
15.6%test coverage
13/13flavors OK

Overview

About

Implements a physics-informed one-dimensional convolutional neural network (CNN1D-PINN) for estimating the complete soil water retention curve (SWRC) as a continuous function of matric potential, from soil texture, organic carbon, bulk density, and depth. The network architecture ensures strict monotonic decrease of volumetric water content with increasing suction by construction, through cumulative integration of non-negative slope outputs (monotone integral architecture). Four physics-based residual constraints adapted from Norouzi et al. (2025) doi:10.1029/2024WR038149 are embedded in the loss function: (S1) linearity at the dry end (pF in [5, 7.6]); (S2) non-negativity at pF = 6.2; (S3) non-positivity at pF = 7.6; and (S4) a near-zero derivative in the saturated plateau region (pF in [-2, -0.3]). Includes tools for data preparation, model training, dense prediction, performance metrics, texture classification, and publication-quality visualisation.

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK7 OK2026-03-27
Advisories

none known

Documentation

In release 0.1.5
READMEYes · 1,226 wordsVignettesYes · 1 · staticNEWSNoCitation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
54 (7 internal)includes a package overview page
Examples that run
59%17 run in a plain check · 12 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
78%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
6%

Downloads

2.7K
CRAN downloads in the past year
Rank #12,494 · ~7/day · ~224/mo
Daily download trend is not available in this view yet.
32130 days
88190 days
2.7K1 year
Compare downloads with other packages →
Also on79 r2u12 autocran

Repository

2Stars
0Forks
0Open issues
0Open PRs
4Releases
58Commits
1Commit identities
58 commits · 0% stars, 30d
Responsiveness
not measured

Stars over time

2026-04-28 · 12026-07-07 · 2
PracticesBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/hugomachadorodrigues/soilflux on 2026-08-23.

Continuous integration (1)
GitHub Actions
Docs source (1)
pkgdown
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 2 practices
Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing soilFlux adds 48 packages (26 with compiled code, 36 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, tfruns 1.9 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.5 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.5Latest
    2026-03-26 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-26
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
18 KB / 1 file
Download size
3.4 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("soilFlux")

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

It points to 10.5281/zenodo.18990856.

The repository also keeps a CITATION.cff.

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

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