Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vignettes/parallel.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Then add the following line to the `DESCRIPTION`:
Config/testthat/parallel: true
```

If needed (for example, for debugging) you can temporarily suppress parallel testing with `Sys.setenv(TESTTHAT_PARALLEL = "false")`.

By default, testthat will use `getOption("Ncpus", 2)` cores.
To increase that value for your development machine we recommend setting `TESTTHAT_CPUS` in your `.Renviron`.
The easiest way to do that is call `usethis::edit_r_environ()` and then add something like the following:
Expand Down
Loading