Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cfBrewTemplate

Cluster Functions Helper to Write Job Description Files


Description

This function is only intended for use in your own cluster functions implementation.

Calls brew silently on your template, any error will lead to an exception. The file is stored at the same place as the corresponding job file in the “jobs”-subdir of your files directory.

Usage

cfBrewTemplate(reg, text, jc)

Arguments

reg

[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).

text

[character(1)]
String ready to be brewed. See cfReadBrewTemplate to read a template from the file system.

jc

[JobCollection)]
Will be used as environment to brew the template file in. See JobCollection for a list of all available variables.

Value

[character(1)]. File path to brewed template file.

See Also


batchtools

Tools for Computation on Batch Systems

v0.9.15
LGPL-3
Authors
Michel Lang [cre, aut] (<https://orcid.org/0000-0001-9754-0393>), Bernd Bischl [aut], Dirk Surmann [ctb] (<https://orcid.org/0000-0003-0873-137X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.