Packages dependencies (typically obtained from get_dependencies() or get_neighborhood()) is converted into a igraph object.

as_graph(dependency_df)

Arguments

dependency_df

(dataframe) Representing package dependencies

Value

igraph object

Examples

if (FALSE) { # \dontrun{
init()
as_graph(get_neighborhood("mlr3"))
} # }