package_installer <- function(path , delete_path = TRUE) {
if(!dir.exists(path)) {
print(paste0(path , " dows not exists"))
return(FALSE)
}
install.packages(path , repos = NULL , type = "source")
if (delete_path) {
unlink(path)
}
return(TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.