Skip to contents

Returns the path to a Simstrat-AED2 executable previously installed with install_simstrat_aed2(). Errors if that version isn't installed for this platform yet. Mirrors glm_exe_path(); there is no bundled fallback – Simstrat-AED2 binaries are only ever obtained via install_simstrat_aed2().

Usage

simstrat_aed2_exe_path(
  version = getOption("AEME.simstrat_version", NULL),
  os = NULL
)

Arguments

version

Character. The Simstrat-AED2 version to locate, e.g. "3.0.4". If NULL (the default), resolves to whichever version is currently installed (see install_simstrat_aed2()), following the same resolution order run_aeme() itself uses.

os

Character. One of "windows", "macos", or "linux". Defaults to the current platform.

Value

Character. The file path to the simstrat/simstrat.exe executable.

Examples

if (FALSE) { # \dontrun{
install_simstrat_aed2(version = "3.0.4")
simstrat_aed2_exe_path(version = "3.0.4")
} # }