att_from_rscript: Look for functions called with '::' and library/requires in...

View source: R/att_from_rscripts.R

att_from_rscriptR Documentation

Look for functions called with :: and library/requires in one script

Description

Look for functions called with :: and library/requires in one script

Usage

att_from_rscript(path)

Arguments

path

path to R script file

Details

Calls from pkg::fun in roxygen skeleton and comments are ignored

Value

a vector

Examples

dummypackage <- system.file("dummypackage",package = "attachment")
# browseURL(dummypackage)

att_from_rscript(path = file.path(dummypackage,"R","my_mean.R"))

attachment documentation built on Sept. 19, 2022, 5:07 p.m.