Error when a dimension size doesn't match the expected size at a given index
Arguments
- arg1
(
character(1))
Name of the first argument (e.g. "operand")- arg2
(
character(1))
Name of the second argument (e.g. "result")- dim1
(
integer(1))
Dimension index in arg1 (0-based)- dim2
(
integer(1))
Dimension index in arg2 (0-based)- shape1
(
integer())
Complete shape of arg1- shape2
(
integer())
Complete shape of arg2- call
(
callorNULL)
Call that generated the error- class
(
character())
Additional classes to prepend- signal
(
logical(1))
Whether to signal the error (default TRUE)