Skip to contents

Error when input shapes don't match (except at given dimensions)

Usage

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

Arguments

dimensions

(integer())
The dimensions where shapes may differ (0-based)

shapes

(list() of Shape)
The input shapes

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)