Downloads larger test data files that are not included in the CRAN package due to size constraints. These files are hosted on GitHub releases and are useful for running the full test suite or exploring additional file formats.
Usage
neurosurf_download_testdata(
files = "all",
destdir = NULL,
overwrite = FALSE,
quiet = FALSE
)Arguments
- files
Character vector of files to download. Use
"all"to download all available test files. Available files:"rscan01_lh.gii"- GIFTI surface file (30 MB)"rscan01_lh.niml.dset"- NIML surface dataset (22 MB)"rscan01_rh.niml.dset"- NIML surface dataset (22 MB)
- destdir
Destination directory. Defaults to
extdatawithin the installed package location. If the package location is not writable, defaults torappdirs::user_cache_dir("neurosurf").- overwrite
Logical; if
TRUE, re-download files even if they already exist. Default isFALSE.- quiet
Logical; if
TRUE, suppress progress messages.