knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
RStudio addins let you execute a bit of R code or a Shiny app through the RStudio IDE, either via the Addins dropdown menu or with a keyboard shortcut. This package contains an RStudio addin for adding square brackets (adapted from https://github.com/csgillespie/roxygen2Comment).
This package can be installed via
devtools::install_github("Hillea/AddBrackets")
After installing the package, the Addins menu toolbar will be populated with the new, exported addin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.