tests/testthat/test_schema_required.R

test_that("Entity$new requires explicit schema", {
  expect_error(
    Entity$new(init = list(x = 1)),
    "schema is required"
  )
})

Try the fluxCore package in your browser

Any scripts or data that you put into this service are public.

fluxCore documentation built on Sept. 22, 2026, 5:07 p.m.