Copies the SPM12 script from the scripts directory to a temporary file

spm12_script(script_name, outdir = tempdir())

Arguments

script_name

Name of the script filename without ".m" ext

outdir

Path to copy scripts and run

Value

Character vector of script paths

Examples

spm12_script(script_name = "Segment")
#>                             job                          script 
#> "/tmp/RtmpBbKv5F/Segment_job.m"  "/tmp/RtmpBbKv5F/Executable.m"