Skip to contents

Convert checks to markdown-formatted report

Usage

checks_to_markdown(checks, render = FALSE)

Arguments

checks

Result of main pkgcheck function

render

If TRUE, render output as html document and open in browser.

Value

Markdown-formatted version of check report

Examples

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

if (FALSE) { # \dontrun{
checks <- pkgcheck (path, goodpractice = FALSE)
md <- checks_to_markdown (checks) # markdown-formatted character vector
md <- checks_to_markdown (checks, render = TRUE) # HTML version
} # }
fs::dir_delete (path)