Require usage of expect_named(x, n) over expect_equal(names(x), n)Source:
testthat::expect_named() exists specifically for testing the
testthat::expect_equal() 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.