These are some quick addins that I've been using.
First, ensure that you have the latest versions of htmltools, shiny, and miniUI; then install this package.
if (!requireNamespace("devtools", quietly = TRUE))
install.packages("devtools")
devtools::install_github("rstudio/htmltools")
devtools::install_github("rstudio/shiny")
devtools::install_github("rstudio/miniUI")
devtools::install_github("rstudio/addinexamples")
Then install this package from github. Three extra addins will then appear in your Addins dropdown menu.
devtools::install_github('jachan1/addins')
Inserts the pipe %>%
In windows system address are given with '\' but R wants '/'. This converts and pastes a windows address to an R address.
Inserts a comment header for annotating code
select and string with commas and it will space commas appropriately. Made for correct lines such as c(1, 2,3, 4 ,5) to c(1, 2, 3, 4, 5). Other usage may cause issues.
Inserts HTML pagebreak into script. Useful for rmarkdown. String used is: <p style="page-break-before: always">
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.