Skip to contents

Split a list of packages separated by commas

Usage

pkg_chr_split_comma(x)

Arguments

x

chr of packages, often the output from renv

Value

chr vector with each package as a character

See also

Other package dev: get_package_fns(), is_package(), is_package_dev(), need_pkg()

Examples

string_split_comma(c("DT, USAboundaries, USAboundariesData, cicerone, config",
"ggplot2, golem, googlesheets4, htmlwidgets, leaflet",
"paletteer, plotly, rmapshaper, scales, sf, shiny, shinyBS",
"shinyWidgets, shinyauthr, shinycssloaders, shinydashboard",
"shinyjs, shinyvalidate, tidyr") )
#> Error in string_split_comma(c("DT, USAboundaries, USAboundariesData, cicerone, config",     "ggplot2, golem, googlesheets4, htmlwidgets, leaflet", "paletteer, plotly, rmapshaper, scales, sf, shiny, shinyBS",     "shinyWidgets, shinyauthr, shinycssloaders, shinydashboard",     "shinyjs, shinyvalidate, tidyr")): could not find function "string_split_comma"