FIMS Weekly - March 23–27, 2026

fims-weekly
tutorial
testing
Published

March 16, 2026

FIMS hex icon and noaa logo with text saying FIMS Weekly

THREE BIG THINGS THIS WEEK

  1. Merging in a few final Pull Requests today and tomorrow.

  2. An email will go out to the CIE Reviewers, Regional SSC participants, FIMS Council, and Science Board regarding review materials for the CIE Review.

  3. Ian will be giving a seminar on FIMSFrame.

FIMS ANNOUNCEMENTS

  • 29 days until the CIE Review.

UPCOMING EVENTS

Wednesday, March 25

FIMS Tutorial on FIMSFrame

Time: 14:00–15:00 E; 11:00–12:00 P; 12:00–13:00 AK; 08:00-09:00 H Location: Virtual Online: Google meet

PHOTO OF THE WEEK

The tests for new convergence functions use a mocking structure so we can test the individual function without having to run a FIMS model. You can read more about mocking on the testthat github page. I think that mocking might be helpful for more tests in FIMS to increase coverage but keep the tests running fast.

test_that("check_sdreport_convergence() returns correct outputs for edge cases", {
  #' @description Test that `check_sdreport_convergence()` gracefully handles when summary extraction throws an error.
  obj <- make_mock_obj(random = 1)
  opt <- list(par = numeric())
  sdreport <- make_mock_sdreport(
    pdHess = TRUE,
    fail_on = "fixed"
  )
  register_mock_sdreport_summary()

  expect_warning(
    object = FIMS:::check_sdreport_convergence(list(), obj, opt, sdreport),
    regexp = "Unable to extract summary from sdreport"
  )
})