upstream_dependency.Rd
Get upstream dependency for a package
upstream_dependency(package, online = FALSE)
Package name.
Whether use the newest package database directly from CRAN/Bioconductor or the pre-computated package database? The version of the pre-computated package database can be set via pkgndep_opt
$heaviness_db_version.
Upstream packages with relations of "Depends", "Imports" and "LinkingTo" are retrieved.
A data frame with all upstream packages.
# \dontrun{
upstream_dependency("ComplexHeatmap")
#> parents children dep_fields heaviness
#> 1 methods ComplexHeatmap Depends 0
#> 2 grid ComplexHeatmap Depends 0
#> 3 graphics ComplexHeatmap Depends 0
#> 4 stats ComplexHeatmap Depends 0
#> 5 grDevices ComplexHeatmap Depends 0
#> 6 circlize ComplexHeatmap Imports 2
#> 7 GetoptLong ComplexHeatmap Imports 3
#> 8 colorspace ComplexHeatmap Imports 0
#> 9 clue ComplexHeatmap Imports 2
#> 10 RColorBrewer ComplexHeatmap Imports 1
#> 11 GlobalOptions ComplexHeatmap Imports 0
#> 12 png ComplexHeatmap Imports 1
#> 13 digest ComplexHeatmap Imports 1
#> 14 IRanges ComplexHeatmap Imports 4
#> 15 matrixStats ComplexHeatmap Imports 1
#> 16 foreach ComplexHeatmap Imports 0
#> 17 doParallel ComplexHeatmap Imports 2
#> 18 codetools ComplexHeatmap Imports 0
#> 19 graphics circlize Depends 0
#> 20 GlobalOptions circlize Imports 1
#> 21 shape circlize Imports 1
#> 22 grDevices circlize Imports 0
#> 23 utils circlize Imports 0
#> 24 stats circlize Imports 0
#> 25 colorspace circlize Imports 1
#> 26 methods circlize Imports 0
#> 27 grid circlize Imports 1
#> 28 rjson GetoptLong Imports 1
#> 29 GlobalOptions GetoptLong Imports 1
#> 30 methods GetoptLong Imports 0
#> 31 crayon GetoptLong Imports 2
#> 32 methods colorspace Depends 1
#> 33 graphics colorspace Imports 1
#> 34 grDevices colorspace Imports 1
#> 35 stats colorspace Imports 1
#> 36 stats clue Imports 0
#> 37 cluster clue Imports 3
#> 38 graphics clue Imports 0
#> 39 methods clue Imports 1
#> 40 methods GlobalOptions Depends 1
#> 41 utils GlobalOptions Imports 1
#> 42 utils digest Imports 1
#> 43 methods IRanges Depends 0
#> 44 utils IRanges Depends 0
#> 45 stats IRanges Depends 0
#> 46 BiocGenerics IRanges Depends 0
#> 47 S4Vectors IRanges Depends 1
#> 48 stats4 IRanges Imports 0
#> 49 S4Vectors IRanges LinkingTo 1
#> 50 codetools foreach Imports 1
#> 51 utils foreach Imports 0
#> 52 iterators foreach Imports 1
#> 53 foreach doParallel Depends 2
#> 54 iterators doParallel Depends 0
#> 55 parallel doParallel Depends 1
#> 56 utils doParallel Depends 0
#> 57 stats shape Imports 1
#> 58 graphics shape Imports 1
#> 59 grDevices shape Imports 1
#> 60 grDevices crayon Imports 1
#> 61 methods crayon Imports 1
#> 62 utils crayon Imports 1
#> 63 graphics cluster Imports 1
#> 64 grDevices cluster Imports 1
#> 65 stats cluster Imports 1
#> 66 utils cluster Imports 1
#> 67 methods BiocGenerics Depends 1
#> 68 utils BiocGenerics Depends 1
#> 69 graphics BiocGenerics Depends 1
#> 70 stats BiocGenerics Depends 1
#> 71 methods BiocGenerics Imports 1
#> 72 utils BiocGenerics Imports 1
#> 73 graphics BiocGenerics Imports 1
#> 74 stats BiocGenerics Imports 1
#> 75 methods S4Vectors Depends 0
#> 76 utils S4Vectors Depends 0
#> 77 stats S4Vectors Depends 0
#> 78 stats4 S4Vectors Depends 1
#> 79 BiocGenerics S4Vectors Depends 2
#> 80 utils iterators Depends 1
# }