R/transformValuesInCode.R

Defines functions transformValuesInCode

transformValuesInCode <- function(values_) {
  gsub('^\\s*list\\(\\s*(.*?)\\s*\\)\\s*$', '\\1', deparse(substitute(values_)), perl = TRUE)
}

Try the wyz.code.testthat package in your browser

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

wyz.code.testthat documentation built on Oct. 6, 2021, 9:07 a.m.