Get a data frame of package and their installed version.

packagesUsed(vc_pkg)

Arguments

vc_pkg

a vector of string characters including package names to be added.

Value

A data frame of two columns. First is the name of the package; second the version installed.

Examples

packagesUsed(c('utils', 'methods'))
#> name version #> 1 utils 4.0.3 #> 2 methods 4.0.3