BoulderCodeHub / Process-CRSS-Res

Repository for code used to process CRSS Results starting in April 2015
1 stars 3 forks source link

parse the yaml file and create same list as current ui #100

Closed rabutler-usbr closed 4 years ago

rabutler-usbr commented 4 years ago
rabutler-usbr commented 4 years ago

knitr uses the following to evaluate the R code that is found in the Rmarkdown text.

code = "2+2"
eval(xfun::parse_only(code)) -> 4

to get code, knitr::process_file() calls knitr:::split_file(), but calling knitr:::split_file() does not seem to be splitting it the same way as it does internal to knitr.