Skip to content

Commit

Permalink
Delete package installation instructions in episode on parallel proce…
Browse files Browse the repository at this point in the history
…ssing
  • Loading branch information
joelnitta committed Jul 10, 2024
1 parent 7a5419c commit b8b1c4c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions episodes/parallel.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,6 @@ Most workflows that use branching can benefit from parallelism.
Here, we assume you are running this analysis on a laptop and so will use a relatively simple backend.
If you are interested in high-performance computing, [see the `targets` manual](https://books.ropensci.org/targets/hpc.html).

### Install R packages for parallel computing

For this demo, we will use the new [`crew` backend](https://wlandau.github.io/crew/).

::::::::::::::::::::::::::::::::::::: {.prereq}

### Install required packages

You will need to install several packages to use the `crew` backend:

```{r}
#| label: install-crew
#| eval: false
install.packages("nanonext", repos = "https://shikokuchuo.r-universe.dev")
install.packages("mirai", repos = "https://shikokuchuo.r-universe.dev")
install.packages("crew", type = "source")
```

:::::::::::::::::::::::::::::::::::::

### Set up workflow

To enable parallel processing with `crew` you only need to load the `crew` package, then tell `targets` to use it using `tar_option_set`.
Expand Down

0 comments on commit b8b1c4c

Please sign in to comment.