[R-pkg-devel] How to resolve missing packages without Notes

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sun Mar 9 20:12:46 CET 2025


On 9 March 2025 at 15:03, Stephen Abrams wrote:
| Hi again - I'm working through the final details of a submission. My
| current problem is that I make use of a dependency of the caret package
| (kernlab) in one of my vignettes. If I don't include kernlab in my
| DESCRIPTION file, I get the following ERROR:
[...]
| My NAMESPACE file is auto-generated by roxygen and actually says not to

You need to edit DESCRIPTION (by hand). That is all that there is, and
_Writing R Extensions_ is fairly clear about this. Here is a quote from
Section 1.1.3

     The ‘Suggests’ field uses the same syntax as ‘Depends’ and lists
  packages that are not necessarily needed.  This includes packages used
  only in examples, tests or vignettes (*note Writing package
  vignettes::), and packages loaded in the body of functions.

Dirk

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



More information about the R-package-devel mailing list