inst/examples/getYamlFromComments.r

\dontrun{

yaml <- getYamlFromComments(
  from = function() {
    ## object-ref: {id: x_1, where:.GlobalEnv, as: ref_1}
  },
  ctx = YamlContext.ObjectReference.S3()
)
yaml$original
yaml$src

}
rappster/yamlr documentation built on May 27, 2019, 2:02 a.m.