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
There is a similar, closed issue here: #1027 which I feel is incomplete.
I have a package with a vignettes folder. Inside that folder is another folder called images. In the .Rmd I use knitr::include_graphics(<full path to image file>) in an Rmd chunk to display the image.
When I knit the vignette, the images render. However, if I use pkgdown the resulting article does not render the images.
I believe this is because the docs directory created by pkgdown needs to copy the images from vignettes/images/. I can see that the article's .html source file is trying to reference an image located in images/<my_image.jpg>, but there is no such directory called images inside docs. How can I trigger pkgdown to do a copy based on <full path to image files> ?
The text was updated successfully, but these errors were encountered:
There is a similar, closed issue here: #1027 which I feel is incomplete.
I have a package with a
vignettes
folder. Inside that folder is another folder calledimages
. In the .Rmd I useknitr::include_graphics(<full path to image file>)
in an Rmd chunk to display the image.When I knit the vignette, the images render. However, if I use pkgdown the resulting article does not render the images.
I believe this is because the
docs
directory created by pkgdown needs to copy the images fromvignettes/images/
. I can see that the article's .html source file is trying to reference an image located inimages/<my_image.jpg>
, but there is no such directory calledimages
insidedocs
. How can I trigger pkgdown to do a copy based on<full path to image files>
?The text was updated successfully, but these errors were encountered: