helper function allowing to find the path to a given command on
the system of the user. If the command is not found, a stop is issued and
the program aborts (gracefully).
find_command(command, stop_on_missing = TRUE)
| command |
|
|---|---|
| stop_on_missing | PARAM_DESCRIPTION, Default: TRUE |
character normalized path to the desired command
# Find the path to `gdalinfo` gdalinfo_path <- find_command("gdalinfo")