#' add_to_package
#' @export add_to_package
add_to_package <- function(x = c("RPostgres", "DBI", "dbplyr")) {
walk(x, function(y) {
install.packages(y)
usethis::use_package(y, type = "Depends")
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.