pbs-assess / sdmTMB

:earth_americas: An R package for spatial and spatiotemporal GLMMs with TMB
https://pbs-assess.github.io/sdmTMB/
183 stars 26 forks source link

Issue # 184 #190

Closed ericward-noaa closed 1 year ago

ericward-noaa commented 1 year ago

Fix for absent factors https://github.com/pbs-assess/sdmTMB/issues/184

ericward-noaa commented 1 year ago

I think the fix is to just delete this test, which isn't necessary any more. All others pass fine

  expect_error(
    sdmTMB(data = s_drop,
      formula = observed ~ 1 + (1 | g) + (1 | h), mesh = spde_drop),
    regexp = "levels"
  )