Error when types at the same index in two lists don't match
Arguments
- arg1
(
character(1))
Name of the first argument- arg2
(
character(1))
Name of the second argument- index
(
integer(1))
The index where types don't match (0-based)- expected
(
character(1))
Description of what was expected- actual1
Type from the first argument (any object with a cli_format method)
- actual2
Type from the second argument (any object with a cli_format method)
- call
(
callorNULL)
Call that generated the error- class
(
character())
Additional classes to prepend- signal
(
logical(1))
Whether to signal the error (default TRUE)