knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(papillon)
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"))
papillon::generate_readme_rmd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.