Learn R Programming

checked (version 0.2.4)

task_graph_which_satisfied: 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_which_satisfied(
  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 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_satisfied(), they are:

  • task_graph_which_satisfied_strong() - List vertices whose strong dependencies are satisfied.

  • task_graph_which_check_satisfied() - List root vertices whose all dependencies are satisfied.

  • task_graph_which_install_satisfied() - List install vertices whose dependencies are all satisfied