assert_graph: Assertion for mlr3pipelines Graph

View source: R/assert_graph.R

assert_graphR Documentation

Assertion for mlr3pipelines Graph

Description

Function that checks that a given object is a Graph and throws an error if not.

Usage

assert_graph(x)

Arguments

x

(any)
Object to check.

Value

Graph invisible(x)

See Also

Other Graph operators: %>>%(), as_graph(), as_pipeop(), assert_pipeop(), chain_graphs(), greplicate(), gunion(), mlr_graphs_greplicate


mlr3pipelines documentation built on Sept. 30, 2024, 9:37 a.m.