Mock backend is useful for testing the package. It will ignore all data passed to it and always provide result as the draws generated by the backend.

SBC_backend_mock(
  result = posterior::draws_matrix(a = rnorm(100)),
  output = NULL,
  message = NULL,
  warning = NULL,
  error = NULL
)

Arguments

result

a draws_matrix that will be returned regardless of the data