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

View source: R/task_graph.R

task_graph_update_readyR 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 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

Value

The name of the next package to prioritize


checked documentation built on June 10, 2025, 9:08 a.m.