Skip to content

Commit

Permalink
Fix vignette render
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Aug 29, 2023
1 parent b347a6d commit 49438eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -399,15 +399,15 @@ 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)
```

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)
```

Expand Down

0 comments on commit 49438eb

Please sign in to comment.