test_that("brm_model() runs", { skip_on_cran() set.seed(0L) data <- brm_data( data = tibble::as_tibble(brm_simulate_simple()$data), outcome = "response", role = "response", group = "group", time = "time", patient = "patient", reference_group = "group_1", reference_time = "time_1" ) formula <- brm_formula( data = data, baseline = FALSE, baseline_time = FALSE ) tmp <- utils::capture.output( suppressMessages( suppressWarnings( model <- brm_model( data = data, formula = formula, chains = 1, iter = 100, refresh = 0 ) ) ) ) expect_s3_class(model, "brmsfit") })