bottomUpRecursive {NoviceDeveloperResources2} | R Documentation |
bottomUpRecursive
Description
given a list of packages, determine which packages recursively import the packages in the list
Usage
bottomUpRecursive(l, p0)
Arguments
l |
return value of retrieveNamespace() |
p0 |
list of those packages whose R code has been modified by the developer |
Value
returns a list of the original query packages plus the packages that directly import them
Examples
## Not run:
# you need to specify dir, packs that are on your own computer !!
dir1<-"~/personal/hearts/hearts_card_game_bayesian_inference"
dir2<-"packages/inference_packages/inference_packages/"
packs<-c("cardUtils","clickableImageMap","editDriver",
"heartsCIM","iterationDriver","logos","playOneTrick",
"playWholeHandDriverPassParams","probTab","relaxDriver")
l<-retrieveNamespace(sprintf("%s/%s",dir1,dir2),packs)
bur<-bottomUpRecursive(l,c("iterationDriver"))
## End(Not run)
[Package NoviceDeveloperResources2 version 1.1.0 Index]