knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
library(papillon)

To describe your package and how to install it

This can be useful to create your Readme for instance or to send the instructions file for your clients to install your package.

path <- system.file("DESCRIPTION", package = "papillon")
out.dir <- tempdir()
create_pkg_desc_file(path, source = c("archive"), to = "html")
shiny::includeHTML(file.path(out.dir, "pkg_description.html"))

Create and update a custom README with installation instructions

papillon::generate_readme_rmd()


ThinkR-open/chameleon documentation built on Feb. 1, 2023, 5:21 p.m.