Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Apr 2, 2024
1 parent 1ae5645 commit bbb35c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions users.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ title: "Users"

## How to install a package from R-multiverse

R has built-in support for multiple repositories. Simply add R-multiverse to your repository settings. For example:
R has built-in support for multiple repositories.

Simply add R-multiverse to your repository settings. For example:

```r
options(repos = c("https://r-multiverse.r-universe.dev", getOption("repos")))
```

Setting the `repos` option is only required once per session. We recommend adding this line to your `.Rprofile` so that it is set automatically. Then proceed to use `install.packages()` or `pak::pak()` etc. as you would normally.
Setting the `repos` option is only required once per session. We recommend adding this line to your `.Rprofile` so that it is set automatically.

Then proceed to use `install.packages()` or `pak::pak()` etc. as you would normally.

## What does R-multiverse provide?

Expand Down

0 comments on commit bbb35c1

Please sign in to comment.