tests/testthat/helper.R

make_temp_conf <- function(obj) {
  cat(
    yaml::as.yaml(obj),
    file = tmp <- tempfile()
  )
  tmp
}
r-lib/conf documentation built on May 14, 2019, 2:31 p.m.