(.packages()) %>%
sapply( function(x)as.character(packageVersion(x)) ) %>%
paste0("install_version(\"", names(.),"\",\"", ., "\")\n") %>%
cat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.