Learn R Programming

attachment (version 0.4.5)

att_from_rscript: 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)

Value

a vector

Arguments

path

path to R script file

Details

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

Examples

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

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

Run the code above in your browser using DataLab