tests/testthat/helper-utils.R

library(ymlthis)
stringify_yaml <- function(x) {
  x %>%
    ymlthis:::capture_yml() %>%
    paste(collapse = "\n")
}

Try the ymlthis package in your browser

Any scripts or data that you put into this service are public.

ymlthis documentation built on Aug. 5, 2022, 5:23 p.m.