task_graph_update_ready {checked} | R Documentation |
Find the Next Packages Not Dependent on an Unavailable Package
Description
While other packages are in progress, identify tasks with all the
dependencies done and mark them as ready
already has its dependencies
done.
Usage
task_graph_update_ready(
g,
v = igraph::V(g),
dependencies = TRUE,
status = STATUS$pending
)
Arguments
g |
A dependency graph, as produced with |
v |
Names or nodes objects of packages whose readiness should be checked. |
dependencies |
Which dependencies types should be met for a node to be considered satisfied. |
status |
status name. Nodes in v fill be filtered to consists only nodes with that status. |
Details
There are helpers defined for particular use cases that strictly rely on the
task_graph_update_ready()
, they are:
-
task_graph_update_ready_strong()
- List vertices whose strong dependencies are satisfied. -
task_graph_update_check_ready()
- List root vertices whose all dependencies are satisfied. -
task_graph_update_install_ready()
- List install vertices whose dependencies are all satisfied
Value
The name of the next package to prioritize