View source: R/get_package_version.R
get_package_version | R Documentation |
Function to get package versions and return details in a tibble.
get_package_version(package, as_vector = FALSE)
package |
Vector of package names to get details for. |
as_vector |
Should the package and version be formatted into a string? |
Tibble or character vector.
Stuart K. Grange
# Get package details
get_package_version(c("stats", "utils"))
# Get package details along with R's version
get_package_version(c("R", "stats", "utils"))
# Get details and return a vector
get_package_version(c("R", "stats", "utils"), as_vector = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.