rmfi_find: Find paths to executables

rmfi_findR Documentation

Find paths to executables

Description

This function tries to locate external code executables.

Usage

rmfi_find(code = "2005", precision = "single")

Arguments

code

Name of the MODFLOW variant to use, or path to the executable.

precision

Character. Can be "single" or "double". Only relevant for MODFLOW-2005.

Details

It first looks for the executable in the current working directory. If not there, it looks in the bin subfolder of getOption("RMODFLOW.path"), where the software might have been installed by rmf_install(). If the executable cannot be found, a final attempt is made by checking the system path variable. If it still cannot be located, an error is thrown.

Value

Path to the executable.


rogiersbart/RMODFLOW documentation built on Jan. 14, 2023, 4:21 a.m.