#!/usr/bin/env Rscript
args <- commandArgs(trailingOnly = TRUE)
print(paste("Installing", args[1]))
install.packages(args[1], repos = NULL, type = "source")
if (!library("avatar", character.only = TRUE, logical.return = TRUE)) {
quit(status = 1, save = "no")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.