Learn R Programming

checked (version 0.5.0)

task_graph_update_ready: Find the Next Packages Not Dependent on an Unavailable Package

Description

While other packages are in progress, ensure that the next selected package already has its dependencies done.

Usage

task_graph_update_ready(
  g,
  v = 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().

v

Names or nodes objects of packages whose satisfiability 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_which_ready(), they are:

  • task_graph_update_check_ready() - Updates check vertices whose all dependencies are satisfied.

  • task_graph_update_install_ready() - Update install vertices whose all dependencies are satisfied.

  • task_graph_which_ready() - List vertices whose wit ready status.