View source: R/render_template.R
| render_template | R Documentation |
Renders the job script that batchtools would submit to the
scheduler for a given batchtools future strategy, without actually
submitting (or even creating) a real job. This is useful for
inspecting and troubleshooting a template, e.g. to see exactly how
resources are expanded into scheduler directives.
render_template(strategy = NULL, ...)
strategy |
A batchtools future strategy as accepted by
|
... |
Named resources overriding those already set by
|
A character string holding the rendered job script.
script <- render_template(
future.batchtools::batchtools_slurm,
time = "00:05:00", mem = "200M"
)
cat(script)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.