R/private.r

# O -----------------------------------------------------------------------

optionize = function(id) {
  opts <- getOption(id)
  if (is.null(opts)) {
    opts <- new.env(parent = emptyenv())
    eval(parse(text = sprintf("options(%s = opts)", id)))
  }
  TRUE
}
rappster/r6x documentation built on May 26, 2019, 11:55 p.m.