Submission to CRAN: size of documentation #259
Labels
Priority: 3-low
Topic: documentation 📘
Related to hyperSpec's (non-vignette) documentation. Use a separate dag for vignettes.
Topic: vignette 📗
Related to vignettes of hyperSpec
Milestone
This is an early warning about an issue that may arise when submitting to CRAN. It may apply to other packages in the
hySpc.*
series as well. By the time we split everything out, this problem may disappear, but I'm doubtful. I discovered this when updating my own packageChemoSpec
.When I build, check and install locally I get the following notice:
In order to compact the size of the documentation so the package is below the CRAN limit, we may have to make the following change in each vignette's yaml:
In my testing, nothing breaks in the vignettes by making this change. This means that a user doing
browseVignettes
will be offered the pdf version. Users will have to discover the html versions another way.This change will only be needed when packaging for CRAN, and should be changed back to
html_document2
when the CRAN submission is complete.Apparently there is a lot of formatting code when
html_document2
is used, and of course the graphics are in-lined too.For another CRAN submission issue see #275
The text was updated successfully, but these errors were encountered: