Skip to contents

Locate a batchtools job-script template file

Usage

find_template_file(template)

Arguments

template

(character string) The name of a batchtools template, e.g. "sge" or "slurm", or the full pathname to a template file.

Value

(character string) The absolute pathname to the located template file.

Examples

pathname <- find_template_file("sge")
print(pathname)
#> [1] "/tmp/hb/Rtmps5JSSd/temp_libpath128d9a3c4b646e/future.batchtools/templates/sge.tmpl"