vctrs-conditions {vctrs} | R Documentation |
These errors and warnings have custom classes and structures to make testing easier.
stop_incompatible_type(x, y, details = NULL, ..., message = NULL, .subclass = NULL) stop_incompatible_cast(x, y, details = NULL, ..., message = NULL, .subclass = NULL) stop_incompatible_op(op, x, y, details = NULL, ..., message = NULL, .subclass = NULL) warn_lossy_cast(x, y, locations = NULL, details = NULL, ..., message = NULL, .subclass = NULL)
x, y |
Vectors |
details |
Any additional human readable details |
..., message, .subclass |
Only use these fields when creating a subclass. |
locations |
For |
subclass |
Use if you want to further customise the class |