Hello,
When I use R Markdown on my Linux machine running R Studio server, it generates a cache but does not appear to use it when knitting again.
Here is an example:
---
title: "Test cache"
output: html_document
date: "2022-07-11"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r test_cache, cache=TRUE}
rnorm(1)
```
```{r sessioinfo, cache=FALSE}
sessionInfo()
```
On Linux running R studio server 2022.02.3 Build 492 and R 4.2.0, RMarkdown 2.14 and Knitr 1.39, knitting repeatedly produces a different random value each time.
On a Mac running R Studio desktop 2022.07.0 Build 548 and R 4.2.1, RMarkdown 2.14 and Knitr 1.39, knitting repeatedly produces the same random value, taken from the cache...
Can you help me find what is wrong with my rstudo setup on Linux ?