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
The option autodep=TRUE does not work since #2321 even with the simplest example as follows:
```{r, setup}
knitr::opts_chunk$set(cache = TRUE)
knitr::opts_chunk$set(autodep = TRUE)
```
```{r, src}
x = 1
```
```{r, dst}
y = 10 * x
y
```
Modifying x in src chunk should invalidate the cache of the dependent chunk dst, but is ignored in the latest version. I have tried different versions with pak::pkg_install("yihui/knitr"). Here are the results:
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('knitr'). 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('yihui/knitr').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered:
The option
autodep=TRUE
does not work since #2321 even with the simplest example as follows:Modifying
x
insrc
chunk should invalidate the cache of the dependent chunkdst
, but is ignored in the latest version. I have tried different versions withpak::pkg_install("yihui/knitr")
. Here are the results:"yihui/knitr@v1.45"
"yihui/knitr@74bcff85455a9f92a3099abecba1a8d70ab0cfa4"
74bcff8"yihui/knitr@f36e52cf39abba3be261e8e957c92587c63fa599"
f36e52c"yihui/knitr@v1.46"
"yihui/knitr"
HEADBy filing an issue to this repo, I promise that
xfun::session_info('knitr')
. 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('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: