Description Usage Arguments Details Value See Also Examples
This function checks that all pipes are valid, and returns FALSE if any are invalid.
1 |
pipeline |
A |
A pipe is considered valid if its startComponent and
endComponents values match the value of name components in
the pipeline, and if its startOutput and endInput values match
a named output or input in the corresponding component.
A warning is generated for each invalid pipe to help debug.
logical, TRUE if pipeline passes all validity tests
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## load a pipeline
pipel1 <-
loadPipeline("simpleGraph",
system.file("extdata", "simpleGraph",
"pipeline.xml",
package = "conduit"))
## a valid pipeline
validatePipeline(pipel1)
## break a pipeline
pipel2 <- pipel1
pipel2$pipes[[1]]$start$output <- "veryWrongValue"
## and look, it's invalid!
validatePipeline(pipel2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.