sortedInputForCheckBuildInstallSourcePackage {NoviceDeveloperResources2} | R Documentation |
sortedInputForCheckBuildInstallSourcePackage
Description
compute a list of packages in the correct order to input to checkBuildInstallSourcePackage()
Usage
sortedInputForCheckBuildInstallSourcePackage(retrieve, burd)
Arguments
retrieve |
return value of retrieveLeafNodes() |
burd |
return value of bottomUpRecursiveDriver() |
Value
returns a list of packages in the correct order to input to checkBuildInstallSourcePackage()
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")
master<-PackageDependencies(sprintf("%s/%s",dir1,dir2),packs,vector("list",length(packs)),1,TRUE)
l<-retrieveNamespace(sprintf("%s/%s",dir1,dir2),packs)
burd<-bottomUpRecursiveDriver(l,c("iterationDriver"),TRUE)
retrieve<-retrieveLeafNodes(master)
s<-sortedInputForCheckBuildInstallSourcePackage(retrieve,burd)
## End(Not run)
[Package NoviceDeveloperResources2 version 1.1.0 Index]