anthonynorth / roxyglobals

Generate utils::globalVariables() from roxygen tags
Other
52 stars 0 forks source link

Roxyglobals adds itself unconditionally to Suggests and Remotes #5

Closed anthonynorth closed 1 year ago

anthonynorth commented 3 years ago

roxyglobals::use_roxyglobals() unconditionally adds itself to Remotes and Suggests -- this is inconvenient for package developers targeting CRAN.

Roxyglobals is only a dev dependency, similar to roxygen2 (which is not in suggests). If roxyglobals isn't installed, devtools::document(), devtools::check(), etc will error with a clear error message:

Error in loadNamespace(x) : there is no package called 'roxyglobals'

related #4

anthonynorth commented 1 year ago

use_roxyglobals() no longer adds remotes. Submitted to cran