Uses get_fs to check if FreesurferDIR is accessible or the option freesurfer.path is set and returns logical

have_fs(..., check_license = FALSE)

Arguments

...

options to pass to get_fs

check_license

Should a license file be checked to exist?

Value

Logical TRUE is Freesurfer is accessible, FALSE if not

Examples

have_fs()
#> [1] FALSE