doc: simplify CRAN mirror text in benchmark guide

PR-URL: https://github.com/nodejs/node/pull/39287
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/39287/head
Rich Trott 2021-07-06 06:25:51 -07:00
parent bbdc15bbdb
commit 2631394516
1 changed files with 2 additions and 5 deletions

View File

@ -74,11 +74,8 @@ install.packages("ggplot2")
install.packages("plyr")
```
In the event that a message is reported stating that a CRAN mirror must be
selected first, specify a mirror by adding in the repo parameter.
If we used the "<http://cran.us.r-project.org>" mirror, it could look something
like this:
If a message states that a CRAN mirror must be selected first, specify a mirror
with the `repo` parameter.
```r
install.packages("ggplot2", repo="http://cran.us.r-project.org")