Returns the result of source() for any R code chunks.
Arguments
x
An Rmd document (e.g. rmd_ast, rmd_tibble, Rmd file path, etc.)
local
TRUE, FALSE or an environment, determining where the parsed
expressions are evaluated. FALSE (the default) corresponds to the user's
workspace (the global environment) and TRUE to the environment from which
source is called.