render_html: Render .Rmd to HTML

Description Usage Arguments Author(s) Examples

View source: R/render.R

Description

This function is a wrapper for render with HTML output.

Usage

1
2
3
4
render_html(input, output = NULL, env = parent.frame(),
  encoding = "UTF-8", ...)

html_template(toc = TRUE, keep_md = FALSE)

Arguments

input

Path to a .Rmd file.

output

Output directory. Default uses the directory of the input file.

env

Optional environment to use when evaluating the .Rmd-file.

encoding

The encoding of the input file. Defaults to UTF-8.

...

Further arguments passed to html_template.

toc

Include a table of contents.

keep_md

Keep intermediary .md files when generating HTML.

Author(s)

Kristian D. Olsen

Examples

1
2
3
4
5
## Not run: 
  # TODO
  render_html("example.Rmd")

## End(Not run)

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.