| verbatim_logical {yaml} | R Documentation |
A yaml handler function that will cause logical vectors to emit true/false value instead of yes/no value
verbatim_logical(x)
x |
logical values to convert to |
To use pass into as.yaml as part of a handler arguement list like
list(logical=verbatim_logical).
Returns a vector of strings of either true or false of class
verbatim.
Charles Dupont and James Goldie (jimjam-slam)
vector <- c(TRUE, FALSE, TRUE) as.yaml(vector, handlers=list(logical=verbatim_logical))