Find and execute external command-line tools
normalize_commandline_path(
path,
type = c("dcm2niix", "freesurfer", "fsl", "afni", "others"),
unset = NA
)cmd_dcm2niix(error_on_missing = TRUE, unset = NA)
cmd_freesurfer_home(error_on_missing = TRUE, unset = NA)
cmd_fsl_home(error_on_missing = TRUE, unset = NA)
cmd_afni_home(error_on_missing = TRUE, unset = NA)
cmd_homebrew(error_on_missing = TRUE, unset = NA)
is_dry_run()
Normalized path to the command, or unset
if command is
missing.
path to normalize
type of command
default to return if the command is not found
whether to raise errors if command is missing