View source: R/att_from_rscripts.R
att_from_rscripts | R Documentation |
::
and library/requires in folder of scriptsLook for functions called with ::
and library/requires in folder of scripts
att_from_rscripts(path = "R", pattern = "*.[.](r|R)$", recursive = TRUE)
path |
directory with R scripts inside or vector of R scripts |
pattern |
pattern to detect R script files |
recursive |
logical. Should the listing recurse into directories? |
vector of character of packages names found in the R script
dummypackage <- system.file("dummypackage",package = "attachment")
# browseURL(dummypackage)
att_from_rscripts(path = file.path(dummypackage, "R"))
att_from_rscripts(path = list.files(file.path(dummypackage, "R"), full.names = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.