knit_htmlwidgets: Knit a simulated HTML fragment

Description Usage Arguments Value

Description

Renders an R Markdown document as HTML, minus the <!DOCTYPE html> declaration. Useful as an intermediate step in serving an R Markdown document with htmlwidget-like content as a Jekyll post.

Usage

1
2
knit_htmlwidgets(input, output_dir = "./_includes/htmlwidgets", ...,
  verbose = TRUE)

Arguments

input

Path of the R Markdown document to be rendered.

output_dir

Directory where the rendered HTML should be written.

...

Additional arguments to be passed to rmarkdown::render.

verbose

Logical indicating whether to print informative messages.

Value

Invisible TRUE, no matter what.


benjcunningham/ben documentation built on May 12, 2019, 11:55 a.m.