expect_named_linter {lintr} | R Documentation |
testthat::expect_named()
exists specifically for testing the names()
of
an object. testthat::expect_equal()
can also be used for such tests,
but it is better to use the tailored function instead.
expect_named_linter()
best_practices, package_development, readability
linters for a complete list of linters available in lintr.