You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rscript -e "lintr::lint_package()"
R/redacted.R:138:14: warning: no visible global function definition for ‘.weight’, Did you mean 'weights'?
Answers <- .weight(start, X, accuracy)
^~~~~~~
However, when I use testthat to invoke lintr::expect_lint_free()
The package should be installed before running `lintr::ling_package()` or `lintr::expect_lint_free()` (our case), otherwise we could encounter some false positives.
See r-lib/lintr#352 (comment) and r-lib/lintr#406 (comment)
Authored-by: Dragoș Moldovan-Grünfeld <dragos.mold@gmail.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
I have the following report from lintr
However, when I use testthat to invoke lintr::expect_lint_free()
The result of the test is successful
The text was updated successfully, but these errors were encountered: