From 7901a582e8903f2182834ee858c95cd61ae824c2 Mon Sep 17 00:00:00 2001 From: Stephen Wirth Date: Thu, 5 Feb 2026 11:29:47 +0100 Subject: [PATCH] rebuild package --- .buildlibrary | 2 +- CITATION.cff | 2 +- DESCRIPTION | 2 +- R/LPJmLDataCalc.R | 2 +- README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.buildlibrary b/.buildlibrary index 0c6065c..3df24e9 100644 --- a/.buildlibrary +++ b/.buildlibrary @@ -1,4 +1,4 @@ -ValidationKey: '1884804' +ValidationKey: '1884988' AutocreateReadme: yes AcceptedWarnings: - 'Warning: package ''.*'' was built under R version' diff --git a/CITATION.cff b/CITATION.cff index 853f177..b4eda4c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,7 +3,7 @@ message: If you use this software, please cite it using the metadata from this f type: software title: 'lpjmlstats: Statistical tools for LPJmL data analysis' version: 0.9.2 -date-released: '2026-02-03' +date-released: '2026-02-05' abstract: This package provides statistical tools for LPJmL data analysis to be used for benchmarking LPJmL outputs. authors: diff --git a/DESCRIPTION b/DESCRIPTION index d1347a2..72a77fd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -46,5 +46,5 @@ Config/testthat/edition: 3 VignetteBuilder: knitr Depends: R (>= 3.5.0) -Date: 2026-02-03 +Date: 2026-02-05 BinaryFiles: inst/bin2cdf diff --git a/R/LPJmLDataCalc.R b/R/LPJmLDataCalc.R index aee8384..bdd5ca9 100644 --- a/R/LPJmLDataCalc.R +++ b/R/LPJmLDataCalc.R @@ -233,7 +233,7 @@ map_units <- function(unit_str, mapping) { for (from in names(mapping)) { unit_str <- gsub(from, mapping[[from]], unit_str, fixed = TRUE) } - unit_str + return(unit_str) } # Wrapper for set_units that maps chemical formulas to internal names diff --git a/README.md b/README.md index bcd3f33..ebbc432 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ A BibTeX entry for LaTeX users is @Misc{, title = {lpjmlstats: Statistical tools for LPJmL data analysis}, author = {David Hötten and Jannes Breier and Christoph Müller and Stephen B. Wirth}, - date = {2026-02-03}, + date = {2026-02-05}, year = {2026}, url = {https://github.com/PIK-LPJmL/lpjmlstats}, note = {Version: 0.9.2},