# R dependencies for development
lib <- ".library"
installed <- installed.packages(lib = lib)
pkg <- c(
"covr",
"devtools",
"knitr",
"lintr",
"pkgdown",
"rmarkdown",
"rprojroot",
"styler",
"testthat"
)
for (i in seq_along(pkg)) {
if (!(pkg[i] %in% installed)) {
install.packages(
pkg[i],
lib = lib
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.