I'm currently organizing what I have studied on the github page
using r bookdown
to organize what I have studied personally. However, when I want to apply the studied situations to bookdown by executing a performance code, the result plot
of knitr
to html
in offline environment is normally displayed, but updating it to github
causes a problem that the plot
is not displayed. knitr
setting I'm using as below:
```{r, setup, include=FALSE}
library(formatR)
knitr::opts_chunk$set(echo = TRUE,
collapse = TRUE,
fig.align="center",
tidy.opts = list(width.cutoff = 60),
tidy = TRUE
)
```
And also I used knitr cache=TRUE
option for some code chunks. The github pages
that I experienced problem is this: 7.2 Descriptive Statistics of Networks | Self-Study (lyric2249.github.io). Every figure that I run code at this page shows same error.
I suspect that the cause is that the image directory is not caught normally when updated on github
, but it is not accurate. I would appreciate it if you could give me any advice on this matter.