Skip to contents

Error when dimension indices are not unique

Usage

error_dimension_uniqueness(
  arg,
  dimensions,
  call = sys.call(-1)[1L],
  class = character(),
  signal = TRUE
)

Arguments

arg

(character(1))
Name of the argument that caused the error

dimensions

(integer())
The dimension indices that are not unique.

call

(call or NULL)
Call that generated the error

class

(character())
Additional classes to prepend

signal

(logical(1))
Whether to signal the error (default TRUE)