Where does a package dependency go that is only required in a vignette?
Does it have to go in Suggests?
If so, is this a reason to make it an Article instead?
Where does a package dependency go that is only required in a vignette?
Does it have to go in Suggests?
If so, is this a reason to make it an Article instead?
For a CRAN package yes, it does into Suggests
.
Indeed, this could be a reason for having an article instead of a vignette, it you don't want a format dependency.
Think I will keep 1 vignette with the basics of the package, and everything else as articles.
Thanks @Gabor !
Note that if you install package {attachment}, you can run attachment::att_amend_desc()
and it will automatically detect and put the dependencies under the correct section in your DESCRIPTION file.
See Deal with Dependencies • attachment for more information
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.