When developing R packages, I usually run a couple of functions that are helpful to automatically check different dimensions of quality (spelling, linter, ...). I used the following functions and they threw a couple of warnings/errors you might want to have a look at:
When developing R packages, I usually run a couple of functions that are helpful to automatically check different dimensions of quality (spelling, linter, ...). I used the following functions and they threw a couple of warnings/errors you might want to have a look at:
Source for screenshot with full list of checks
The warnings included:
TRUE
/FALSE
instead ofT
/F
1:length()
(error prone)fix this R CMD check ERROR: Package suggested but not available: ‘ggraph’ The suggested packages are required for a complete check.
usethis::use_tidy_description()
)(This issue is part of the review: https://github.com/openjournals/joss-reviews/issues/4987; the references above are based on the development version of your package that is currently on GitHub)