install_spm12: Install SPM12 file into directory

Description Usage Arguments Examples

View source: R/install_spm12.R

Description

Install spm12 scripts to spm12r for script capabilities

Usage

1
install_spm12(lib.loc = NULL, verbose = TRUE, install_dir = NULL)

Arguments

lib.loc

a character vector with path names of R libraries. Passed to system.file

verbose

print diagnostic messages

install_dir

Alternative directory to download SPM12

Examples

1
2
3
4
5
6
7
8
9
tdir = tempfile()
dir.create(tdir)
in_ci <- function() {
nzchar(Sys.getenv("CI"))
}
if (.Platform$OS.type == "unix" | in_ci()) { # windows problem
res = install_spm12(install_dir = tdir)
res = install_spm12(install_dir = tdir)
}

neuroconductor-devel/spm12r documentation built on May 23, 2019, 4:04 p.m.