# will produce lints
lint(
text = 'expect_true(is(x, "Matrix"))',
linters = expect_s4_class_linter()
)
# okay
lint(
text = 'expect_s4_class(x, "Matrix")',
linters = expect_s4_class_linter()
)
Run the code above in your browser using DataLab