Description Usage Arguments Value Examples
This is implemented via a naive depth-first search - it will not warn if there are cycles in the dependency graph.
1 | topo_sort(packages)
|
packages |
a named list of packages that should be sorted topologically according to their dependencies, |
a named list of packages ordered in a way that they can be sequentially installed from source.
1 2 3 4 5 | pkgs <- list(
a = package_info(test_source(), "a"),
b = package_info(test_source(), "b")
)
topo_sort(pkgs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.