# will produce lints
lint(
text = "xyzxyz::sd(c(1, 2, 3))",
linters = namespace_linter()
)
lint(
text = "stats::ssd(c(1, 2, 3))",
linters = namespace_linter()
)
# okay
lint(
text = "stats::sd(c(1, 2, 3))",
linters = namespace_linter()
)
lint(
text = "stats::ssd(c(1, 2, 3))",
linters = namespace_linter(check_exports = FALSE)
)
lint(
text = "stats:::ssd(c(1, 2, 3))",
linters = namespace_linter(check_nonexports = FALSE)
)
Run the code above in your browser using DataLab