knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
R package reference materials
First, here are some talks about how easy this is from rstudio::global 2021:
You'll find a guide on how to create an R package linked to GitHub in RStudio in a guide on this website.
The R Packages book is a good resource covering all aspects of writing packages in R.
During this course, we recommend using tools in RStudio and the usethis
package for easy package development. In doing so, a standard package structure
is automatically generated for you. Here are some links that might be useful:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.