Description Usage Arguments Examples
View source: R/install_spm12.R
Install spm12 scripts to spm12r for script capabilities
1 | install_spm12(lib.loc = NULL, verbose = TRUE, install_dir = NULL)
|
lib.loc |
a character vector with path names of R libraries.
Passed to |
verbose |
print diagnostic messages |
install_dir |
Alternative directory to download SPM12 |
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.