tests/testthat/helper-parse.R

to_lines <- function(x) {
  tf <- tempfile(fileext = ".c")
  writeLines(x, tf)
  readLines(tf)
}
DavisVaughan/cbuild documentation built on Dec. 25, 2019, 5:11 a.m.