powered by
Get all packages called in examples from R files
att_from_examples(dir.r = "R")
Character vector of packages called with library or require.
path to directory with R scripts.
dummypackage <- system.file("dummypackage",package = "attachment") # browseURL(dummypackage) att_from_examples(dir.r = file.path(dummypackage,"R"))
Run the code above in your browser using DataLab