# NOT RUN {
if (have.fsl()){
print(fsl_version())
in_ci <- function() {
nzchar(Sys.getenv("CI"))
}
if (in_ci()) {
destfile = tempfile(fileext = ".nii.gz")
dl = download.file(paste0("https://github.com/muschellij2/",
"Neurohacking/files/3454385/113-01-MPRAGE2.nii.gz"),
destfile = destfile)
res = readrpi(destfile)
}
}
# }
Run the code above in your browser using DataLab