[R-pkg-devel] correcting errors in an existing package

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Tue Apr 4 16:23:41 CEST 2023


On 4 April 2023 at 10:04, Duncan Murdoch wrote:
| I'd suggest this:  build the tarball, and check the tarball.

Strong second. The _Writing R Extensions_ manual does not mention devtools.
As Uwe often reminds everybody here the package is not used by CRAN either.

This may sound harsh but one of the key approaches to debugging often is to
strip away the layers to identify more atomic and minimal operations.  (And
RStudio can build the tarball for you too, see Build -> More -> Build Source
Package. Similarly you can ask it to not check the package using devtools.
You can always flip the switch back. Convenient helpers are useful, but at
times it is advisable to turn them off.)

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list