#! /usr/bin/env Rscript
to_install <- c(
"caracas",
"data.table",
"devtools",
"DiagrammeR",
"knitcitations",
"learnr",
"miniUI",
"pkgdown",
"renv",
"reticulate",
"rTorch",
"tidyverse"
)
install.packages(to_install, quiet = TRUE)
warnings()
reticulate::py_discover_config()
library(tidyverse)
print("Installed")
installed <- as_tibble(installed.packages()) %>% select(Package, Version); installed %>% print(n = Inf)
print("Missing")
print(setdiff(to_install, installed$Package))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.