Awesome - much appreciated. I think I'm missing the forest for the trees at this point - thanks!
On Sun, Mar 9, 2025 at 3:12 PM Dirk Eddelbuettel <e...@debian.org> wrote: > > 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 | e...@debian.org > -- Stephen Abrams Divergent Blue <http://www.divergentblue.com/> [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel