pff_find_pkgs_from_file: Finds used packages from a single file

Description Usage Arguments Value Examples

View source: R/pff_utils.R

Description

This function will search the names of R packages used in the script

Usage

1

Arguments

f.in

File to search for pattern

Value

A character object with all packages, separated by ' ; '

Examples

1
2
3
4
5
## Not run: 
my.f <- system.file('extdata/Example_Script_1.R', package = 'PkgsFromFiles')
pkg.out <- pff_find_pkgs_from_file(my.f)

## End(Not run)

msperlin/PkgsFromFiles documentation built on July 16, 2020, 12:50 a.m.