-
Notifications
You must be signed in to change notification settings - Fork 186
lintr hangs on openxlsx #1443
New issue
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
Comments
Thanks for the report! I'm definitely reproducing strange slowness at current HEAD on To debug, I start with: trace(lintr::lint, at=1, quote(message(filename)))
lintr::lint_package() this shows me what files are going slowly, and where it gets stuck.
But where it really gets stuck is It looks like |
OK, the issue is that there's a syntax error in the vignette: This is hidden because It's not clear we're supposed to lint in chunks where |
Thanks for the explanation and the successful bug hunt! |
Hello,
in one of the many packages for which I use
lintr
,lintr
started hanging after the last version 3.0. This can be reproduced both locally (R 4.2.1 on Mac andlintr
s HEAD) and in the Github action.lintr::lint_package()
hangs onopenxlsx
. This can be seen with the latest CRAN release ofopenxlsx
and also in thedevelopment
branch. While theopenxlsx
code is known to be a mess,lintr
did not hang before its release 3.0. Unfortunately there is not much else I can report, there is no verbose option that I am aware of. I tried to disable the linter mentioned in #1427 but that did not help. Let me know if you need anything else.Thank you for the time you have invested in the development and maintenance of
lintr
!The text was updated successfully, but these errors were encountered: