I made a pakcage BayesianXXX
in which I also made vignette by YYY.Rmd
file in its path BayesianXXX/vignettes/YYY.Rmd
.
I want to paste image in YYY.Rmd
and to do so, the following Rmd script is required in the YYY.Rmd
.

For example, If we made ZZZ.jpg
in a image file in the inst directory, that is, BayesianXXX/inst/image/ZZZ.jpg
, then how to specify its path in the code 