findTemplateFile: find template file

View source: R/batchtools_config_template.R

findTemplateFileR Documentation

find template file

Description

Find a config file from batchtools or default file from pulsar

Usage

findTemplateFile(name)

Arguments

name

name of default template or path to template file.

Details

See the batchtools functions batchtools::findTemplateFile, batchtools::makeClusterFunctionsTORQUE, batchtools::makeClusterFunctionsSGE, etc, to employ batchtools' default lookup scheme for template files. Supply the output of this function to the template argument to override batchtools' default.

In this case we look for "[name].tmpl" in the pulsar installation directory in the subfolder "templates".

See Also

findConfFile

Examples

 ## Not run: 
 cluster.functions = batchtools::makeClusterFunctionsTORQUE(
                     template=pulsar::findTemplateFile('simpletorque'))
 
## End(Not run)

pulsar documentation built on Sept. 25, 2023, 1:08 a.m.