# R dependencies specific to the R package
lib <- ".library"
installed <- installed.packages(lib = lib)
pkg <- c(
"remotes",
"numDeriv"
)
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.