Skip to contents

Package Versions

Usage

pkg_versions(dir, file)

Arguments

dir

Directory containing the R scripts

file

Name of R file containing the

Value

Character vector containing the version numbers of packages loaded by `library` commands without any surrounding whitespace that appear in `R` files (recursively) in `dir`