Render Rmd directly in Opal via API
Arguments
- input
(the path to the input Rmd document)
- ...
Arguments supplied by the knitting frontend. Named
endpoint,api_user, andcredential_idarguments are forwarded toopal().
Details
Customize knit function in the Rmd file using the following YAML setting
after the word knit knit: rqti::render_opal.
Examples
if (FALSE) { # interactive()
file <- system.file(
"rmarkdown/templates/singlechoice-simple/skeleton/skeleton.Rmd",
package='rqti'
)
render_opal(file)
}