Error when permutation values are invalid (not a valid permutation of indices)
Arguments
- arg
(
character(1))
Name of the argument that caused the error- permutation
(
integer())
The permutation values that are invalid.- expected
(
integer())
The expected indices to be permuted.- call
(
callorNULL)
Call that generated the error- class
(
character())
Additional classes to prepend- signal
(
logical(1))
Whether to signal the error (default TRUE)