Description Usage Arguments Value Author(s) See Also Examples
Get all reverse dependencies
1 2 3 4  | get_all_reverse_dependencies(packages, level = 1L,
  relation = c("Depends", "Imports", "LinkingTo", "Suggests",
  "Enhances"), strict = FALSE, ignore = c("datasets", "utils",
  "grDevices", "graphics", "stats", "methods"))
 | 
packages | 
 (non-empty character vector) Package names  | 
level | 
 (positive integer, Default = 1L) Depth of recursive dependency  | 
relation | 
 (character vector) Types of relations. Must be a subset of c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances")  | 
strict | 
 (logical, Default: TRUE) Whether to consider all packages (alternately only 'relation' specific packages) when computing dependencies for the next level  | 
ignore | 
 package names to ignore  | 
A tibble with three columns: 'pkg_1', 'relation' and 'pkg_2'
Srikanth KS
1 2 3 4 5 6 7 8 9 10 11 12  | pkggraph::init(local = TRUE)
# general use
pkggraph::get_all_reverse_dependencies("mlr")
# specify two levels
pkggraph::get_all_reverse_dependencies("mlr", level = 2)
# specify relation(s)
pkggraph::get_all_reverse_dependencies("mlr", level = 2, relation = "Imports")
# setting strict to TRUE to only consider 'Imports' of the previous level
pkggraph::get_all_reverse_dependencies("mlr"
                                       , level    = 2
                                       , relation = "Imports"
                                       , strict   = TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.