List packages

ls_packages(x)

Arguments

x

an R call or list of R calls

Value

Character. Vector of packages called.

Examples

ls_packages( list( quote(library(tidycode)), quote(library(purrr))) )
#> [1] "tidycode" "purrr"