Learn R Programming

checked (version 0.2.8)

task_graph_update_ready: 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
)

Value

The name of the next package to prioritize

Arguments

g

A dependency graph, as produced with task_graph_create().

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