From 534f37771ce2254520545e0ebb9c9c01c87a7145 Mon Sep 17 00:00:00 2001 From: mrustl <michael.rustler@kompetenz-wasser.de> Date: Tue, 8 Oct 2024 16:23:16 +0200 Subject: [PATCH] Suppress printing to screen --- DESCRIPTION | 2 +- man/run_model.Rd | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 59027b4..b6b3811 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -44,5 +44,5 @@ Remotes: Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 VignetteBuilder: knitr diff --git a/man/run_model.Rd b/man/run_model.Rd index e21dc39..e45ad2d 100644 --- a/man/run_model.Rd +++ b/man/run_model.Rd @@ -7,6 +7,7 @@ run_model( exe_path = check_hydrus_exe(), model_path = system.file("extdata/model/test", package = "kwb.hydrus1d"), + print_output = TRUE, ... ) } @@ -17,6 +18,9 @@ by \code{check_hydrus_exe})} \item{model_path}{path to model directory (default: system.file("extdata/model/test", package = "kwb.hydrus1d"))} +\item{print_output}{if TRUE (the default) the output goes to the console, if +FALSE, it is returned as an R object (character vector)} + \item{...}{additional arguments passed to \code{shell}} } \value{