Skip to content

realTimeloads

1.0.0Package record

Analyte Flux and Load from Estimates of Concentration and Discharge

0packages depend
2.4Kdownloads / year
–test coverage
12/13flavors OK

Overview

About

Flux (mass per unit time) and Load (mass) are computed from timeseries estimates of analyte concentration and discharge. Concentration timeseries are computed from regression between surrogate and user-provided analyte. Uncertainty in calculations is estimated using bootstrap resampling. Code for the processing of acoustic backscatter from horizontally profiling acoustic Doppler current profilers is provided. All methods detailed in Livsey et al (2020) doi:10.1007/s12237-020-00734-z, Livsey et al (2023) doi:10.1029/2022WR033982, and references therein.

Changes in 1.0.0
  • First release to CRAN.

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORexamplesr-oldrel-macos-arm64
Running examples in ‘realTimeloads-Ex.R’ failed
The error most likely occurred in:

> ### Name: impute_data
> ### Title: Returns x with gaps imputed using ARIMA and Decision Trees,
> ###   optional uncertainty estimation using Monte Carlo resampling
> ### Aliases: impute_data
> 
> ### ** Examples
> 
> # Impute non-tidal data
> time <- realTimeloads::ExampleData$Sediment_Samples$time
> xo <- realTimeloads::ExampleData$Sediment_Samples$SSCxs_mg_per_liter
> Q <- realTimeloads::ExampleData$Discharge$Discharge_m_cubed_per_s
> idata <- sample(1:length(xo),round(length(xo)*0.5),replace=FALSE)
> x <- rep(NA,length(xo))
> x[idata] <- xo[idata] # simulated samples
> flow_concentrtion_ratio <- imputeTS::na_interpolation(Q/x)
> Xreg <- cbind(Q,flow_concentrtion_ratio)
> Output <- impute_data(time,x,Xreg,MC = 10,ptrain = 0.8)
Error in optim(init[mask], getLike, method = "L-BFGS-B", lower = rep(0,  : 
  L-BFGS-B needs finite values of 'fn'
Calls: impute_data -> <Anonymous> -> <Anonymous> -> optim
Execution halted

CRAN check page ↗

Slowest check: 3.6 min · r-oldrel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERRORNow
  • ERROR11 OK, 3 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 295 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.0.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
18 (1 internal)includes a package overview page
Examples that run
63%10 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
89%
Vignettes (1)

Downloads

2.4K
CRAN downloads in the past year
Rank #21,373 · ~7/day · ~199/mo
Daily download trend is not available in this view yet.
22030 days
62790 days
2.4K1 year
Compare downloads with other packages →
Also on65 r2u8 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing realTimeloads adds 85 packages (51 with compiled code, 70 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 2.10
Imports (8)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.0 (2023), Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0Latest
    2023-10-18 · current release
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-18
Total releases
1 / 3 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
551 KB / 1 file
Download size
1.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("realTimeloads")
Livsey, D. (2023). realTimeloads: Analyte Flux and Load from Estimates of Concentration and Discharge (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.realTimeloads

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

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