Description Usage Arguments Examples
View source: R/list_packages.R
In the first slides of a workshop the set of packages should be specified. This function create a bullet points list with CRAN URL for packages as well as a code chunk to install all packages.
1 |
pkgs |
vector of packages. |
add_cls |
a logical. Should the command lines to install packages be added. |
clip |
a logical. Should the package list be copied to the clipboard. |
show |
a logical. Should the badges be displayed? |
1 | list_packages(c("cli", "glue"), clip = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.