feat: Reinstate lint infrastructure as GHA#396
Conversation
|
Thanks, this looks much cleaner overall.
What automation (if any) do you use to remove lints everywhere? It will be easiest for me to merge a slew of the changes up front, this might take some time. |
Just regex replacement and multicursor mode
OK, take your time. Also happy to split it up if that makes more sense. |
| is_null_check <- ctx$tweaks$is_null_check | ||
| for (placeholder_fun in placeholder_funs) { | ||
| bind_values <- structure(data.frame(1L, check.names = FALSE), names = "") | ||
| bind_values <- structure(data.frame(1L), names = "") |
There was a problem hiding this comment.
@krlmlr is {constructive} generating these? maybe I need a devel version?
This reverts commit 50017890d4720a3ab0c1a6cb09b64b9b3c7fd70c.
This reverts commit 1cba9e2aae4297612210e98d5f279ccddd6d3b9e.
This reverts commit 0f3c1573272974c8c2d9696830b94fafeb2a7d1b.
This reverts commit 57ad656facafb3f6afdf56039b2ac0940a9d692b.
|
Thanks. I've tweaked. Not a fan of |
|
Thanks! Need to proceed, will clean up remaining lints as needed. |
This started from noticing
test-lint.Ris not really doing anything, and that {lintr} should probably be removed as a package dependency.All changes to package code here are suggestions, I'm happy to revert anything.
Most of the changes are from the
expect*series of linters that recommend "best practices" for {testthat} usage.