list_packages_in_folder: List all of the packages used in a folder of R scripts

View source: R/list_packages_in_folder.R

list_packages_in_folderR Documentation

List all of the packages used in a folder of R scripts

Description

Searches through a folder, fitlers out the R scripts and then returns a character vector with the R packages. Note: this function will not list package dependencies

Usage

list_packages_in_folder(folder)

Arguments

folder

string with the path to the folder

Value

character vector with the packages


ChandlerLutz/CLmisc documentation built on Dec. 2, 2022, 12:40 p.m.