R: Find a batchtools Template File

findTemplateFile {batchtools} | R Documentation

## Find a batchtools Template File

### Description

This functions returns the path to a template file on the file system.

### Usage

    findTemplateFile(template)

### Arguments

`template` | [`character(1)`] Either a path to a brew template file (with extension “tmpl”), or a short descriptive name enabling the following heuristic for the file lookup: “batchtools.[template].tmpl” in the path specified by the environment variable “R_BATCHTOOLS_SEARCH_PATH”. “batchtools.[template].tmpl” in the current working directory. “[template].tmpl” in the user config directory (see `user_config_dir`); on linux this is usually “~/.config/batchtools/[template].tmpl”. “.batchtools.[template].tmpl” in the home directory. “[template].tmpl” in the package installation directory in the subfolder “templates”.

### Value

[`character`] Path to the file or `NA` if no template template file was found.

[Package batchtools version 0.9.11 Index]