#' Load all packages for your workshop
#'
#' A function for loading all packages that you need for your workshop; relies
#' on an associated config file
#'
#' @param packages_config_file Character; the path to your package config file
#'
#' @importFrom magrittr %>%
#'
#' @export
load_packages <-
function (packages_config_file = "./content/config/packages_to_load") {
readr::read_lines(
"./content/config/packages_to_load"
) %>%
easypackages::packages(
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.