# will produce lints
lintr::lint(
text = "box::use(package, path/to/file)",
linters = box_separate_calls_linter()
)
lintr::lint(
text = "box::use(path/to/file, package)",
linters = box_separate_calls_linter()
)
# okay
lintr::lint(
text = "box::use(package1, package2)
box::use(path/to/file1, path/to/file2)",
linters = box_separate_calls_linter()
)
Run the code above in your browser using DataLab