# will produce lint
lintr::lint(
text = "box::use(stringr[function_not_exists],)",
linter = box_pkg_fun_exists_linter()
)
# okay
lintr::lint(
text = "box::use(stringr[str_pad],)",
linter = box_pkg_fun_exists_linter()
)
Run the code above in your browser using DataLab