You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was recently pointed out to us that some README.html files (generated
from the corresponding README.md ones) on the CRAN package web pages are
incomplete, missing 'local' images not available from the web page and
in most cases actually not even shipped with the package. This clearly
should be changed, so we will move to using '--self-contained' for the
pandoc conversion to ensure that the README.html files are "complete".
Of course, this implies that all 'local' images used in README.md are
needed in the package sources.
If the images are also used for vignettes or Rd files, you can put them
in the 'vignettes' or 'man/figures' directories. Otherwise, please put
them in the top-level 'tools' directory, or a subdirectory of it.
The CRAN incoming checks in r-devel were changed to perform the pandoc
conversion checks with '--self-contained', and hence will warn about
missing images.
Pls ensure completeness in the next regular update of your package.
I took a shot at this one, though I'm inexperienced with some of the finer details. Let me know if I hit the mark.
I was able to reproduce the broken images by building the package, extracting the built package archive and checking the README.html. I removed inst/img (finding an unneeded duplicate image in the process), changed the fig.path option in README.md, rebuilt the package and found the image paths were working fine. PR here.
The text was updated successfully, but these errors were encountered: