Skip to contents

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

Usage

simstrat_aed_exe_path(
  version = getOption("AEME.simstrat_aed_version", NULL),
  os = NULL
)

Arguments

version

Character. The Simstrat-AED version to locate, e.g. "3.0.4". If NULL (the default), resolves to whichever version is currently installed (see install_simstrat_aed()), 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_aed(version = "3.0.4")
simstrat_aed_exe_path(version = "3.0.4")
} # }