Closed hadley closed 2 years ago
@jennybc I think it's slightly better to put the lint config in .lintr
because then it's also used when you call lintr::lint_package()
locally.
@jennybc I think it's slightly better to put the lint config in .lintr because then it's also used when you call lintr::lint_package() locally.
Oh I agree. I think usethis ended up the way it did because I couldn't find a working example of doing such a thing and I got frustrated and inlined the whole thing.
Also based on the usethis experience, I would push a commit introducing an undesirable function, just to make sure it gets caught and reported the way you expect.
Fixes #2430