write_run_attr {guildai} | R Documentation |
Write run attributes
Description
This function does nothing if is_run_active()
is FALSE
.
Usage
write_run_attr(name, data, ..., append = FALSE)
Arguments
name |
A string
|
data |
The data to write. This needs to be encodable as yaml.
If missing, the existing attr is deleted.
|
... |
Arguments passed on to yaml::as.yaml
line.sep the line separator character(s) to use
indent the number of spaces to use for indenting
omap determines whether or not to convert a list to a YAML omap; see Details
column.major determines how to convert a data.frame; see Details
unicode determines whether or not to allow unescaped unicode characters in output
precision number of significant digits to use when formatting numeric values
indent.mapping.sequence determines whether or not to indent sequences in mapping context
handlers named list of custom handler functions for R objects; see Details
|
append |
whether to append to the existing attr file.
|
Value
the written lines, invisibly.
[Package
guildai version 0.0.1
Index]