r-lib / devtools

Tools to make an R developer's life easier
https://devtools.r-lib.org
Other
2.37k stars 755 forks source link

Surface unused imports with `check(cran = TRUE)` #2461

Closed jennybc closed 1 year ago

jennybc commented 1 year ago

Closes #2459 (for R >= 4.2), which seems like a improvement worth having

~Logically, this seems like it should close #2459 and yet I don't think it does? My local R version is not ideal for this at the moment, so I'm going to come back to this when I can experiment with it more easily.~ I'm on R 4.2 and yes this does what we want.