Learn R Programming

NoviceDeveloperResources2 (version 1.1.0)

retrieveLeafNodes: retrieveLeafNodes

Description

compute a list of the packages in the correct order for processing by checkBuildInstallSourcePackage()

Usage

retrieveLeafNodes(master)

Value

returns a list of the packages in the correct order for processing by checkBuildInstallSourcePackage()

Arguments

master

return value of sortedInputForCheckBuildInstallSourcePackageDriver()

Details

the master list may contain some packages that do not need to be processed by checkBuildInstallSourcePackage(). These are weeded out by sortedInputForcheckBuildInstallSourcePackage()

Examples

Run this code
if (FALSE) {
# 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)
retrieve<-retrieveLeafNodes(master)
}

Run the code above in your browser using DataLab