Description Usage Arguments Details Value See Also Examples
Check if an R6 class satisfies the minimum conditions for pipe components
1 | validate_pipe_component(x, verbose = 3)
|
x |
R object, typically an |
verbose |
integer. if 0, no message is given. if 1, reports only invalidity. if 2, reports simple progress. if 3+, reports details. |
This function is used by developers of pipe component to check if a class satisfies the minimum properties for a pipe component class. It is also used by the package developer for package test process to check the validity of the exported pipe component classes.
logical that indicates that x
satisfies the minimum conditions for a valid pipe component class
1 2 3 4 5 6 | validate_pipe_component(MLP)
validate_pipe_component(PipeComponent)
# bad examples
validate_pipe_component(custom_pipe_component(predict=function(x, y, ...) { }))
validate_pipe_component(custom_pipe_component(get_parameters=function(z) { }))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.