list_packages: Create a list of packages

View source: R/list_packages.R

list_packagesR Documentation

Create a list of packages

Description

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.

Usage

list_packages(pkgs, add_cls = TRUE, clip = TRUE, show = FALSE)

Arguments

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?

Examples

list_packages(c("cli", "glue"), clip = FALSE)

inSilecoInc/insilecoRworkshops documentation built on Oct. 12, 2022, 1:58 p.m.