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(), fn_names_on_cran(), list_pkgchecks(), logfile_names()

Examples

f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
path <- pkgstats::extract_tarball (f)

## Not run: 
checks <- pkgcheck (path, goodpractice = FALSE)
# 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)
fs::dir_delete (path)

pkgcheck documentation built on Oct. 13, 2026, 5:06 p.m.