rpkgdown

images are broken in github pages vignette


I'm in over my head on creating my first package. build_site() renders just fine and the site looks good on my machine. When my vignette shows up on github pages, most of the images are broken. I hope somone can point out what I am missing.

Vignette: https://rjake.github.io/simplecolors/docs/articles/Intro.html

Github: https://github.com/rjake/simplecolors



I checked the case sensitivity as suggested here

There is also a pkgdown issue here that I looked at


Solution

  • The answer is to use the man/ folder. I updated my README to use

    ![](man/figures/color_names.png)
    instead of
    ![](images/color_names.png)