From 09ccc0c48b801345b5d6114f890dcc78c2bad007 Mon Sep 17 00:00:00 2001 From: Mitsuo Shiota <48662507+mitsuoxv@users.noreply.github.com> Date: Mon, 5 Jun 2023 23:07:25 +0900 Subject: [PATCH] dependson requires cached chunks (#1503) Co-authored-by: Mine Cetinkaya-Rundel --- quarto.qmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quarto.qmd b/quarto.qmd index 371484c..297234b 100644 --- a/quarto.qmd +++ b/quarto.qmd @@ -605,6 +605,7 @@ For example, here the `processed_data` chunk depends on the `raw-data` chunk: ``` {{r}} #| label: raw-data +#| cache: true rawdata <- readr::read_csv("a_very_large_file.csv") ``` @@ -642,6 +643,7 @@ Then you can write: ``` {{r}} #| label: raw-data +#| cache: true #| cache.extra: !expr file.mtime("a_very_large_file.csv") rawdata <- readr::read_csv("a_very_large_file.csv")