knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of usehelp is to get help text to use presentation or post.
You can install the developing version of usehelp from github with:
remotes::install_github("mrchypark/sendgridr")
This is a basic example which shows you how to solve a common problem:
library(usehelp) library(dplyr) ho <- get_help("tidyr", "unnest") get_title(ho) get_usage(ho) get_description(ho) %>% strsplit("(\\r\\n)+|\\r+|\\n+|\\t+/i") %>% .[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.