I\'m writing a vignette for one of my packages.
In this vignette, I would like to demonstrate how this package can interact with other packages that are not>
Put it in Suggests: of your DESCRIPTION file.
From p. 6 of the R extensions manual:
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 (see Section 1.4 [Writing package vignettes], page 26), and packages loaded in the body of functions. E.g., suppose an example from package
foouses a dataset from packagebar. Then it is not necessary to havebarusefoounless one wants to execute all the examples/tests/vignettes: it is useful to havebar, but not necessary. Version requirements can be specified, and will be used byR CMD check.