Learn R Programming

molnet (version 0.1.0)

return_errors: Return detected errors

Description

Throws an error in case errors have been passed to the function. Messages describing the detected errors are printed.

Usage

return_errors(errors)

Arguments

errors

Character string vector containing error messages.

Examples

Run this code
# NOT RUN {
layer <- molnet::layers_example[[2]]
return_errors(check_layer(layer))

# }

Run the code above in your browser using DataLab