An igraph object & a connected graph if gc is 'TRUE'
Arguments
type
A character vector that contains one or more of the following dependency words: "Depends", "Imports", "LinkingTo", "Suggests", "Enhances", up to letter case and space replaced by underscore. Alternatively, if 'types = "all"', all five dependencies will be obtained.
gc
Boolean, if 'TRUE' (default) then the giant component is extracted, if 'FALSE' then the whole graph is returned
reverse
Boolean, whether forward (FALSE, default) or reverse (TRUE) dependencies are requested.
See Also
get_dep_all_packages for the dependencies of all CRAN packages in a data frame, and df_to_graph for constructing the giant component of the network from two data frames