From 49438ebd79e91c377580f9700608517f89019118 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Fri, 25 Aug 2023 15:29:46 +0100 Subject: [PATCH] Fix vignette render --- vignettes/introduction.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vignettes/introduction.Rmd b/vignettes/introduction.Rmd index df38efa2..4ec9fed8 100644 --- a/vignettes/introduction.Rmd +++ b/vignettes/introduction.Rmd @@ -399,7 +399,7 @@ orderly2::orderly_metadata_extract( root = path) ``` -```{include = FALSE} +```{r include = FALSE} id_latest <- orderly2::orderly_search("latest", name = "incoming_data", root = path) unlink(file.path(path, "archive", "incoming_data", id_latest), recursive = TRUE) @@ -407,7 +407,7 @@ unlink(file.path(path, "archive", "incoming_data", id_latest), recursive = TRUE) When we run the `analysis` task, it will pull in the most recent version (`r inline(id_latest)`). However, if you had deleted this manually (e.g., to save space or accidentally) or corrupted it (e.g., by opening some output in Excel and letting it save changes) it will not be able to be included, and running `analysis` will fail: -```{r, error = TRUE} +```{r error = TRUE} orderly2::orderly_run("analysis", root = path) ```