render_md2html: render markdown-formatted input into 'html'

render_md2htmlR Documentation

render markdown-formatted input into 'html'

Description

render markdown-formatted input into 'html'

Usage

render_md2html(md, open = TRUE)

Arguments

md

Result of checks_to_markdown function.

open

If TRUE, open hmtl-rendered version in web browser.

Value

(invisible) Location of .html-formatted version of input.

See Also

Other extra: checks_to_markdown(), list_pkgchecks(), logfile_names()

Examples

## Not run: 
checks <- pkgcheck ("/path/to/my/package")
# Generate standard markdown-formatted character vector:
md <- checks_to_markdown (checks)

# Directly generate HTML output:
h <- checks_to_markdown (checks, render = TRUE) # HTML version

# Or convert markdown-formatted version to HTML:
h <- render_md2html (md)

## End(Not run)

ropensci-review-tools/pkgcheck documentation built on Nov. 24, 2024, 7:57 p.m.