yml_verbatim() is a helper function to write YAML precisely as given to the
yml_*() function rather than the defaults in ymlthis and yaml. ymlthis uses
the yaml package to check for valid syntax; yaml and ymlthis together make
decisions about how to write syntax, which can often be done in numerous
valid ways. See yaml::as.yaml() for more details.
yml_verbatim(x)a character vector
an object of class verbatim
# "yes" and "no" serve as alternatives to `true` and `false`. This writes
# "yes" literally.
yml_verbatim("yes")
#> [1] "yes"
#> attr(,"class")
#> [1] "verbatim"