Require usage of expect_type(x, type) over expect_equal(typeof(x), type)Source:
testthat::expect_type() exists specifically for testing the storage type
testthat::expect_true() can also be used for such tests,
but it is better to use the tailored function instead.
linters for a complete list of linters available in lintr.