tests/testthat/_snaps/check_dimensions.md

check_dimensions() returns error

Non-conformable arrays present.
i The number of columns in `ngm` must match the number of rows in `data`.
x Number of columns in `ngm` for the settings: matrix_a and matrix_b are 2 and 2 respectively.
x Number of rows in `data` is 6.

apply_vaccination gives error when incompatible dimensions present

Non-conformable arrays present.
i The number of columns in `ngm` must match the number of rows in `data`.
x Number of columns in `ngm` for the settings: home, school, work, other, and all are 4, 4, 4, 4, and 4 respectively.
x Number of rows in `data` is 17.


njtierney/conmat documentation built on April 17, 2025, 10:27 p.m.