Learn R Programming

RWsearch (version 4.8.0)

p_vers: Package Version

Description

Return a data.frame with the version number of each package. NA and a warning is issued if the package is not installed. A vectorized version of utils::packageVersion.

Usage

p_vers(..., char = NULL)

Arguments

...

any format recognized by cnsc, except list. A vector of packages.

char

(name to) a character vector. Use this argument if ... fails or if you call the function from another function. If used, argument ... is ignored.

Examples

Run this code
# NOT RUN {
p_vers(RWsearch, MASS, Matrix, survival, R)

# }

Run the code above in your browser using DataLab