I am trying to embed figures in my post with blogdown. I am using the hugo academic template. It appears that inserting figures via Addins works, however knitr::include_graphics did not.
[ yes] I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('blogdown'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/blogdown').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
[ yes] I have learned the Github Markdown syntax, and formatted my issue correctly.
I am trying to embed figures in my post with
blogdown
. I am using thehugo academic
template. It appears that inserting figures via Addins works, howeverknitr::include_graphics
did not.It returned me an error indicating:
I have already placed the figure
plot1.png
in the above folder (that isstatic/post/2020-09-24-blogdownwebsite.en_files
).Can someone help me with this issue? Thanks in advance.
By filing an issue to this repo, I promise that
xfun::session_info('blogdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/blogdown')
.