find_packages: Find all packages mentioned in a file looks for all istances...

View source: R/find_packages.R

find_packagesR Documentation

Find all packages mentioned in a file looks for all istances of "libray(package_name)" or "package_name::function". Returns a unique listing of the mentioned packages.

Description

Find all packages mentioned in a file

looks for all istances of "libray(package_name)" or "package_name::function". Returns a unique listing of the mentioned packages.

Usage

find_packages(file)

Arguments

file

a file to look for packages in

Examples

find_packages("lessons/01_rstudio.Rmd")

jhollist/miscPackage documentation built on March 3, 2024, 9:23 p.m.