Last data update: 2014.03.03

R: Find Reverse Dependencies
dependsOnPkgsR Documentation

Find Reverse Dependencies

Description

Find ‘reverse’ dependencies of packages, that is those packages which depend on this one, and (optionally) so on recursively.

Usage

dependsOnPkgs(pkgs,
              dependencies = c("Depends", "Imports", "LinkingTo"),
              recursive = TRUE, lib.loc = NULL,
              installed =
              utils::installed.packages(lib.loc, fields = "Enhances"))

Arguments

pkgs

a character vector of package names.

dependencies

a character vector listing the types of dependencies, a subset of c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances"). Character string "all" is shorthand for that vector, and "most" currently shorthand for these apart from "Enhances".

recursive

logical: should reverse dependencies of reverse dependencies (and so on) be included?

lib.loc

a character vector of R library trees, or NULL for all known trees (see .libPaths).

installed

a result of calling installed.packages.

Value

A character vector of package names, which does not include any from pkgs.

Examples

## there are few dependencies in a vanilla R installation:
## lattice may not be installed
dependsOnPkgs("lattice")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(tools)
> png(filename="/home/ddbj/snapshot/RGM3/R_rel/result/tools/dependsOnPkgs.Rd_%03d_medium.png", width=480, height=480)
> ### Name: dependsOnPkgs
> ### Title: Find Reverse Dependencies
> ### Aliases: dependsOnPkgs
> ### Keywords: utilities
> 
> ### ** Examples
> ## No test: 
> ## there are few dependencies in a vanilla R installation:
> ## lattice may not be installed
> dependsOnPkgs("lattice")
   [1] "AICcmodavg"                                   
   [2] "ALTopt"                                       
   [3] "ASMap"                                        
   [4] "AllelicImbalance"                             
   [5] "BRAIN"                                        
   [6] "BSDA"                                         
   [7] "BayesSAE"                                     
   [8] "BigVAR"                                       
   [9] "CDM"                                          
  [10] "COMBIA"                                       
  [11] "Cardinal"                                     
  [12] "ChainLadder"                                  
  [13] "Cprob"                                        
  [14] "Cubist"                                       
  [15] "DAAG"                                         
  [16] "DAMisc"                                       
  [17] "DAPAR"                                        
  [18] "DATforDCEMRI"                                 
  [19] "DCL"                                          
  [20] "DESeq"                                        
  [21] "DMwR"                                         
  [22] "DOBAD"                                        
  [23] "DepthProc"                                    
  [24] "Devore7"                                      
  [25] "DiffBind"                                     
  [26] "DoseFinding"                                  
  [27] "EBarrays"                                     
  [28] "ELT"                                          
  [29] "EMMIXskew"                                    
  [30] "EQL"                                          
  [31] "EngrExpt"                                     
  [32] "EstCRM"                                       
  [33] "FTICRMS"                                      
  [34] "FactoMineR"                                   
  [35] "FitAR"                                        
  [36] "GENLIB"                                       
  [37] "GPfit"                                        
  [38] "Giza"                                         
  [39] "Gmisc"                                        
  [40] "Gviz"                                         
  [41] "HH"                                           
  [42] "HSROC"                                        
  [43] "Hiiragi2013"                                  
  [44] "HilbertVis"                                   
  [45] "Hmisc"                                        
  [46] "ICEinfer"                                     
  [47] "IDPmisc"                                      
  [48] "Kmisc"                                        
  [49] "LPR"                                          
  [50] "MCMCpack"                                     
  [51] "MCPMod"                                       
  [52] "MDR"                                          
  [53] "MM2S"                                         
  [54] "MOJOV"                                        
  [55] "MSBVAR"                                       
  [56] "MSnbase"                                      
  [57] "Maeswrap"                                     
  [58] "Matrix"                                       
  [59] "McSpatial"                                    
  [60] "MinimumDistance"                              
  [61] "MixSIAR"                                      
  [62] "MmPalateMiRNA"                                
  [63] "MortalitySmooth"                              
  [64] "MotIV"                                        
  [65] "MplusAutomation"                              
  [66] "OLScurve"                                     
  [67] "OUwie"                                        
  [68] "PASWR"                                        
  [69] "PASWR2"                                       
  [70] "PKNCA"                                        
  [71] "PKgraph"                                      
  [72] "PKreport"                                     
  [73] "PROFANCY"                                     
  [74] "PairedData"                                   
  [75] "Phxnlme"                                      
  [76] "PopGenReport"                                 
  [77] "ProTrackR"                                    
  [78] "QTLRel"                                       
  [79] "QUALIFIER"                                    
  [80] "R2STATS"                                      
  [81] "R2admb"                                       
  [82] "R330"                                         
  [83] "RAM"                                          
  [84] "REPPlab"                                      
  [85] "RGraphics"                                    
  [86] "RNAinteract"                                  
  [87] "RPPanalyzer"                                  
  [88] "RSPS"                                         
  [89] "RUVcorr"                                      
  [90] "ReportingTools"                               
  [91] "Ringo"                                        
  [92] "Rmisc"                                        
  [93] "RobLox"                                       
  [94] "RobLoxBioC"                                   
  [95] "Rssa"                                         
  [96] "RxCEcolInf"                                   
  [97] "SALTSampler"                                  
  [98] "SEL"                                          
  [99] "SLGI"                                         
 [100] "SML"                                          
 [101] "SNPchip"                                      
 [102] "SNPhood"                                      
 [103] "SSN"                                          
 [104] "SSPA"                                         
 [105] "SetMethods"                                   
 [106] "ShortRead"                                    
 [107] "SixSigma"                                     
 [108] "SpidermiR"                                    
 [109] "Surrogate"                                    
 [110] "SwathXtend"                                   
 [111] "TAM"                                          
 [112] "TDboost"                                      
 [113] "TROM"                                         
 [114] "TestingSimilarity"                            
 [115] "TurboNorm"                                    
 [116] "VBmix"                                        
 [117] "VHDClassification"                            
 [118] "VanillaICE"                                   
 [119] "VineCopula"                                   
 [120] "VizOR"                                        
 [121] "Watersheds"                                   
 [122] "aLFQ"                                         
 [123] "abd"                                          
 [124] "adaptTest"                                    
 [125] "adegraphics"                                  
 [126] "adespatial"                                   
 [127] "affyQCReport"                                 
 [128] "affycoretools"                                
 [129] "agridat"                                      
 [130] "agsemisc"                                     
 [131] "analogue"                                     
 [132] "annmap"                                       
 [133] "apc"                                          
 [134] "ape"                                          
 [135] "aqp"                                          
 [136] "assist"                                       
 [137] "automap"                                      
 [138] "backtest"                                     
 [139] "barcode"                                      
 [140] "bayespref"                                    
 [141] "bbmle"                                        
 [142] "bc3net"                                       
 [143] "bdvis"                                        
 [144] "bgmm"                                         
 [145] "biclust"                                      
 [146] "bifactorial"                                  
 [147] "bigdata"                                      
 [148] "blackbox"                                     
 [149] "boolean3"                                     
 [150] "c060"                                         
 [151] "camel"                                        
 [152] "cardidates"                                   
 [153] "caret"                                        
 [154] "caretEnsemble"                                
 [155] "cellGrowth"                                   
 [156] "cg"                                           
 [157] "chipenrich"                                   
 [158] "chipseq"                                      
 [159] "classify"                                     
 [160] "clippda"                                      
 [161] "clst"                                         
 [162] "clstutils"                                    
 [163] "cn.farms"                                     
 [164] "coRNAi"                                       
 [165] "coalescentMCMC"                               
 [166] "coda"                                         
 [167] "comato"                                       
 [168] "compeir"                                      
 [169] "copula"                                       
 [170] "crlmm"                                        
 [171] "cvTools"                                      
 [172] "cwhmisc"                                      
 [173] "dad"                                          
 [174] "daewr"                                        
 [175] "dcmle"                                        
 [176] "ddCt"                                         
 [177] "deseasonalize"                                
 [178] "desplot"                                      
 [179] "dplR"                                         
 [180] "dualScale"                                    
 [181] "eHOF"                                         
 [182] "eRm"                                          
 [183] "effects"                                      
 [184] "eiwild"                                       
 [185] "emdbook"                                      
 [186] "encoDnaseI"                                   
 [187] "equivalence"                                  
 [188] "erboost"                                      
 [189] "etm"                                          
 [190] "factorQR"                                     
 [191] "faoutlier"                                    
 [192] "fastclime"                                    
 [193] "fit.models"                                   
 [194] "flare"                                        
 [195] "flexclust"                                    
 [196] "flexmix"                                      
 [197] "flowQ"                                        
 [198] "flowStats"                                    
 [199] "flowViz"                                      
 [200] "flowWorkspace"                                
 [201] "fungible"                                     
 [202] "gamclass"                                     
 [203] "gammSlice"                                    
 [204] "gbm"                                          
 [205] "gcbd"                                         
 [206] "gear"                                         
 [207] "geneplotter"                                  
 [208] "geoelectrics"                                 
 [209] "ggtern"                                       
 [210] "gpairs"                                       
 [211] "greport"                                      
 [212] "growthrates"                                  
 [213] "gsbDesign"                                    
 [214] "gstat"                                        
 [215] "hett"                                         
 [216] "hexbin"                                       
 [217] "hgam"                                         
 [218] "hotspots"                                     
 [219] "huge"                                         
 [220] "hydroPSO"                                     
 [221] "hyperSpec"                                    
 [222] "iCluster"                                     
 [223] "iGasso"                                       
 [224] "immunoClust"                                  
 [225] "influence.ME"                                 
 [226] "insideRODE"                                   
 [227] "irtProb"                                      
 [228] "isa2"                                         
 [229] "jagsUI"                                       
 [230] "joineR"                                       
 [231] "kdecopula"                                    
 [232] "kmlShape"                                     
 [233] "kwb.hantush"                                  
 [234] "kzs"                                          
 [235] "latticeExtra"                                 
 [236] "ldbounds"                                     
 [237] "lfstat"                                       
 [238] "lga"                                          
 [239] "lme4"                                         
 [240] "lmem.gwaser"                                  
 [241] "lmem.qtler"                                   
 [242] "loa"                                          
 [243] "locfit"                                       
 [244] "lulcc"                                        
 [245] "lumi"                                         
 [246] "maCorrPlot"                                   
 [247] "mapStats"                                     
 [248] "maptools"                                     
 [249] "mapview"                                      
 [250] "mboost"                                       
 [251] "mcaGUI"                                       
 [252] "memisc"                                       
 [253] "metaX"                                        
 [254] "metagenomeFeatures"                           
 [255] "methylumi"                                    
 [256] "mice"                                         
 [257] "minfi"                                        
 [258] "mirt"                                         
 [259] "mirtCAT"                                      
 [260] "mixOmics"                                     
 [261] "mixPHM"                                       
 [262] "mixexp"                                       
 [263] "mleur"                                        
 [264] "mosaic"                                       
 [265] "mosaics"                                      
 [266] "mountainplot"                                 
 [267] "mptools"                                      
 [268] "mritc"                                        
 [269] "msSurv"                                       
 [270] "msme"                                         
 [271] "msqc1"                                        
 [272] "mvna"                                         
 [273] "mycor"                                        
 [274] "nFactors"                                     
 [275] "nlme"                                         
 [276] "nlmeODE"                                      
 [277] "nonmem2R"                                     
 [278] "npROCRegression"                              
 [279] "odfWeave"                                     
 [280] "openCyto"                                     
 [281] "openair"                                      
 [282] "optiscale"                                    
 [283] "orderbook"                                    
 [284] "overlapping"                                  
 [285] "pRoloc"                                       
 [286] "paleoMAS"                                     
 [287] "paleofire"                                    
 [288] "pamm"                                         
 [289] "pbo"                                          
 [290] "pedometrics"                                  
 [291] "pems.utils"                                   
 [292] "penDvine"                                     
 [293] "pencopula"                                    
 [294] "pendensity"                                   
 [295] "phenmod"                                      
 [296] "phmm"                                         
 [297] "picasso"                                      
 [298] "plateCore"                                    
 [299] "playwith"                                     
 [300] "plm"                                          
 [301] "plotGoogleMaps"                               
 [302] "plotMCMC"                                     
 [303] "pmg"                                          
 [304] "polySegratioMM"                               
 [305] "portfolio"                                    
 [306] "portfolioSim"                                 
 [307] "ppiStats"                                     
 [308] "predictmeans"                                 
 [309] "primer"                                       
 [310] "pscl"                                         
 [311] "psychomix"                                    
 [312] "qicharts"                                     
 [313] "qrmtools"                                     
 [314] "qtlhot"                                       
 [315] "rCGH"                                         
 [316] "rCUR"                                         
 [317] "rSARP"                                        
 [318] "randomLCA"                                    
 [319] "rangeMapper"                                  
 [320] "rankFD"                                       
 [321] "rasterVis"                                    
 [322] "refund"                                       
 [323] "rioja"                                        
 [324] "rmatio"                                       
 [325] "rminer"                                       
 [326] "rms"                                          
 [327] "robfilter"                                    
 [328] "robust"                                       
 [329] "robustlmm"                                    
 [330] "rrcov"                                        
 [331] "rrcovNA"                                      
 [332] "runjags"                                      
 [333] "sExtinct"                                     
 [334] "scaRabee"                                     
 [335] "scape"                                        
 [336] "semPLS"                                       
 [337] "sharpshootR"                                  
 [338] "simFrame"                                     
 [339] "simPop"                                       
 [340] "sisal"                                        
 [341] "slfm"                                         
 [342] "sme"                                          
 [343] "smint"                                        
 [344] "soilprofile"                                  
 [345] "solaR"                                        
 [346] "sp"                                           
 [347] "spacetime"                                    
 [348] "spuRs"                                        
 [349] "statnetWeb"                                   
 [350] "stlplus"                                      
 [351] "stressr"                                      
 [352] "stripless"                                    
 [353] "survSNP"                                      
 [354] "svdvisual"                                    
 [355] "sybil"                                        
 [356] "synapter"                                     
 [357] "synbreed"                                     
 [358] "synergyfinder"                                
 [359] "synthpop"                                     
 [360] "tdr"                                          
 [361] "tiger"                                        
 [362] "tigerstats"                                   
 [363] "timeSeq"                                      
 [364] "topGO"                                        
 [365] "trajectories"                                 
 [366] "trelliscope"                                  
 [367] "tripEstimation"                               
 [368] "twang"                                        
 [369] "unmarked"                                     
 [370] "varbvs"                                       
 [371] "vegan"                                        
 [372] "violinmplot"                                  
 [373] "visreg"                                       
 [374] "vsn"                                          
 [375] "vwr"                                          
 [376] "waterData"                                    
 [377] "waterfall"                                    
 [378] "wgaim"                                        
 [379] "wskm"                                         
 [380] "x12GUI"                                       
 [381] "xcms"                                         
 [382] "xpose4"                                       
 [383] "zoo"                                          
 [384] "ABCanalysis"                                  
 [385] "ABSSeq"                                       
 [386] "ACDm"                                         
 [387] "ADMMnet"                                      
 [388] "AER"                                          
 [389] "AFM"                                          
 [390] "AGSDest"                                      
 [391] "AHR"                                          
 [392] "ARTool"                                       
 [393] "ASGSCA"                                       
 [394] "ASPBay"                                       
 [395] "AbsFilterGSEA"                                
 [396] "AdaptFit"                                     
 [397] "AdaptFitOS"                                   
 [398] "AgiMicroRna"                                  
 [399] "AmostraBrasil"                                
 [400] "Anthropometry"                                
 [401] "ArfimaMLM"                                    
 [402] "ArrayExpressHTS"                              
 [403] "AutoSEARCH"                                   
 [404] "B2Z"                                          
 [405] "BAMMtools"                                    
 [406] "BANFF"                                        
 [407] "BANOVA"                                       
 [408] "BAT"                                          
 [409] "BAYSTAR"                                      
 [410] "BBRecapture"                                  
 [411] "BCE"                                          
 [412] "BDWreg"                                       
 [413] "BDgraph"                                      
 [414] "BEAT"                                         
 [415] "BEDASSLE"                                     
 [416] "BEST"                                         
 [417] "BEclear"                                      
 [418] "BIFIEsurvey"                                  
 [419] "BIOdry"                                       
 [420] "BMA"                                          
 [421] "BMhyd"                                        
 [422] "BPEC"                                         
 [423] "BSGS"                                         
 [424] "BTLLasso"                                     
 [425] "BTSPAS"                                       
 [426] "BTYD"                                         
 [427] "BaBooN"                                       
 [428] "BaM"                                          
 [429] "BacArena"                                     
 [430] "BatchQC"                                      
 [431] "BayesComm"                                    
 [432] "BayesFactor"                                  
 [433] "BayesLCA"                                     
 [434] "BayesMed"                                     
 [435] "BayesSingleSub"                               
 [436] "BayesX"                                       
 [437] "Bayesthresh"                                  
 [438] "Bchron"                                       
 [439] "Bergm"                                        
 [440] "BgeeDB"                                       
 [441] "BiDimRegression"                              
 [442] "BiRewire"                                     
 [443] "BigQuic"                                      
 [444] "BigTSP"                                       
 [445] "BinNonNor"                                    
 [446] "BinNor"                                       
 [447] "BinOrdNonNor"                                 
 [448] "BioGeoBEARS"                                  
 [449] "Biograph"                                     
 [450] "BivarP"                                       
 [451] "BoSSA"                                        
 [452] "BradleyTerry2"                                
 [453] "CALIBERrfimpute"                              
 [454] "CAM"                                          
 [455] "CAMAN"                                        
 [456] "CAMERA"                                       
 [457] "CANSIM2R"                                     
 [458] "CARBayes"                                     
 [459] "CARBayesST"                                   
 [460] "CARBayesdata"                                 
 [461] "CLME"                                         
 [462] "CLSOCP"                                       
 [463] "CNPBayes"                                     
 [464] "CONDOP"                                       
 [465] "COUNT"                                        
 [466] "CPE"                                          
 [467] "CRTgeeDR"                                     
 [468] "CVST"                                         
 [469] "Canopy"                                       
 [470] "CardinalWorkflows"                            
 [471] "Category"                                     
 [472] "ChAMP"                                        
 [473] "ChIPQC"                                       
 [474] "ChIPseqR"                                     
 [475] "ChIPsim"                                      
 [476] "Chicago"                                      
 [477] "ChimpHumanBrainData"                          
 [478] "ClassifyR"                                    
 [479] "CluMix"                                       
 [480] "ClustGeo"                                     
 [481] "ClusterStability"                             
 [482] "CoClust"                                      
 [483] "CoImp"                                        
 [484] "CoinMinD"                                     
 [485] "CollocInfer"                                  
 [486] "CommT"                                        
 [487] "CommunityCorrelogram"                         
 [488] "CompareCausalNetworks"                        
 [489] "Compind"                                      
 [490] "CopulaRegression"                             
 [491] "CopyNumber450k"                               
 [492] "CopyNumber450kData"                           
 [493] "CopywriteR"                                   
 [494] "CorReg"                                       
 [495] "CorrMixed"                                    
 [496] "CountClust"                                   
 [497] "Countr"                                       
 [498] "CoxBoost"                                     
 [499] "Coxnet"                                       
 [500] "CpGassoc"                                     
 [501] "Crossover"                                    
 [502] "DAMOCLES"                                     
 [503] "DAPARdata"                                    
 [504] "DBChIP"                                       
 [505] "DBEST"                                        
 [506] "DDD"                                          
 [507] "DESP"                                         
 [508] "DESeq2"                                       
 [509] "DEXSeq"                                       
 [510] "DIFboost"                                     
 [511] "DMRcate"                                      
 [512] "DMRforPairs"                                  
 [513] "DNABarcodes"                                  
 [514] "DNMF"                                         
 [515] "DODR"                                         
 [516] "DOQTL"                                        
 [517] "DPpackage"                                    
 [518] "DRaWR"                                        
 [519] "DSpat"                                        
 [520] "Daim"                                         
 [521] "DeLorean"                                     
 [522] "DecisionCurve"                                
 [523] "Deducer"                                      
 [524] "DeducerSpatial"                               
 [525] "Demerelate"                                   
 [526] "DengueRT"                                     
 [527] "Digiroo2"