Skip to contents

Run Model

Usage

run_model(
  exe_path = check_hydrus_exe(),
  model_path = system.file("extdata/model/test", package = "kwb.hydrus1d"),
  ...
)

Arguments

exe_path

path to Hydrus1D executable v4.17.040 (default: as retrieved by check_hydrus_exe)

model_path

path to model directory (default: system.file("extdata/model/test", package = "kwb.hydrus1d"))

...

additional arguments passed to shell

Value

runs HYDRUS 1D model

Examples

run_model()
#> Checking if download of HYDRUS1D executable v4.17.0140 from 'https://github.com/mrustl/hydrus1d/archive/refs/tags/v4.17.0140.zip' was successful ... ok. (0.00 secs) 
#> Warning: 'cd D:/a/_temp/Library/kwb.hydrus1d/extdata/model && H1D_CALC.exe' execution failed with error code 1