We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.9.1
box::use(path/some_module, )
lintr::lint( code, linters = lintr::linters_with_defaults(defaults = box.linters::rhino_default_linters) )
Error: Linter 'box_unused_attached_mod_linter' failed in xxxxx: unable to load module “path/some_module”; not found in...
Should return lint that module does not exist.
The text was updated successfully, but these errors were encountered:
I'm receiving this error in version 0.10.5 when the module does exist and there is no error in box::use().
box::use()
example project structure:
In file ./functions/foo/a.R
box::use( .. / bar / b[some_function] )
There is no error in importing the module when the box code is executed, however, linting file a.R fails with "... unable to load module ..."
box::use( box.linters[box_default_linters], here[here], lintr[lint, lint_dir], ) lint( filename = here("functions", "foo", "a.R"), linters = box_default_linters$box_mod_fun_exists_linter )
Sorry, something went wrong.
No branches or pull requests
box.linters version
0.9.1
Sample source code to lint
Lint command used
Lint result
Expected result
Should return lint that module does not exist.
The text was updated successfully, but these errors were encountered: