From 10146dc469b218a97319fc4d49f12cb73cc9b5ba Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 6 Feb 2026 17:39:23 +0100 Subject: Support units in UK drainage calculations Also, address some R CMD check notes --- R/PEC_sw_exposit.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'R/PEC_sw_exposit.R') diff --git a/R/PEC_sw_exposit.R b/R/PEC_sw_exposit.R index 282a1ac..a157189 100644 --- a/R/PEC_sw_exposit.R +++ b/R/PEC_sw_exposit.R @@ -52,7 +52,8 @@ #' #' @importFrom units as_units set_units drop_units #' @importFrom dplyr across mutate -#' @param rate The application rate in g/ha +#' @param rate Application rate in g/ha or with a compatible unit specified +#' with the units package #' @param interception The fraction intercepted by the crop #' @param Koc The sorption coefficient to soil organic carbon #' @param DT50 The soil half-life in days -- cgit v1.2.3