
Look for functions called with ::
and library/requires in folder of scripts
Source: R/att_from_rscripts.R
att_from_rscripts.Rd
Look for functions called with ::
and library/requires in folder of scripts
Usage
att_from_rscripts(
path = "R",
pattern = "*.[.](r|R)$",
recursive = TRUE,
folder_to_exclude = "renv"
)
Examples
dummypackage <- system.file("dummypackage",package = "attachment")
# browseURL(dummypackage)
att_from_rscripts(path = file.path(dummypackage, "R"))
#> [1] "stats"
att_from_rscripts(path = list.files(file.path(dummypackage, "R"), full.names = TRUE))
#> [1] "stats"