Learn R Programming

rang (version 0.3.0)

generate_installation_order: Create a Data Frame of The Resolved Result This function exports the results from resolve() to a data frame, which each row represents one installation step. The order of rows is the installation order. By installing packages in the specified order, one can install all the resolved packages without conflicts.

Description

Create a Data Frame of The Resolved Result This function exports the results from resolve() to a data frame, which each row represents one installation step. The order of rows is the installation order. By installing packages in the specified order, one can install all the resolved packages without conflicts.

Usage

generate_installation_order(rang)

Value

A data frame ordered by installation order.

Arguments

rang

output from resolve()

References

Ripley, B. (2005) Packages and their Management in R 2.1.0. R News, 5(1):8--11.

Examples

Run this code
# \donttest{
if (interactive()) {
    graph <- resolve(pkgs = c("openNLP", "LDAvis", "topicmodels", "quanteda"),
                    snapshot_date = "2020-01-16")
    generate_installation_order(graph)
}
# }

Run the code above in your browser using DataLab