eval_rmd: Include an Rmarkdown document in a manual page

Description Usage Arguments Value

View source: R/evalrd.R

Description

This function should be called via roxygen2's @evalRd macro, to include its Rd output in a manual page.

Usage

1
2
eval_rmd(path, output_format = rmarkdown::github_document(),
  quiet = TRUE, ...)

Arguments

path

Path to the Rmarkdown file to include.

output_format

Output format, passed to rmarkdown::render().

quiet

Passed to rmarkdown::render().

...

Additional arguments are passed to rmarkdown::render().

Value

Character vector of Rd text.


gaborcsardi/rmd2rd documentation built on Nov. 4, 2019, 1:01 p.m.