-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoverview.qmd
75 lines (58 loc) · 2.61 KB
/
overview.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: "Overview"
---
R-multiverse provides:
1. A home for packages that fall outside the scope of other repositories such as CRAN and Bioconductor.
2. Direct and timely distribution of package releases.
3. Assurance of package quality for production scenarios.
## R-multiverse repositories
R-multiverse hosts two R package repositories:
1. [Community](community.md): an open, inclusive, community-curated repository
of R package releases pulled directly from their maintainers via GitHub and GitLab.
2. [Production](production.qmd): a quarterly snapshot from [Community](community.md)
of releases which pass transparent automated checks.
## Installing packages
Each R-multiverse repository has a URL for the `repos` argument of `install.packages()`.
For example, to install [`polars`](https://pola-rs.github.io/r-polars/) from [Community](community.md):
^[
Caution: when setting two repositories in the `repos` argument,
the same package may be in both.
`install.packages()` chooses the most current version,
which could be in either repository.
]
```r
install.packages(
"polars",
repos = c("https://community.r-multiverse.org", getOption("repos"))
)
```
and from [Production](production.qmd):
```{r, eval = TRUE, echo = FALSE, results = "asis"}
source("R/utils.R")
text <- c(
"```r",
"install.packages(",
" \"polars\",",
" repos = c(",
" \"https://production.r-multiverse.org\",",
sprintf(" \"https://packagemanager.posit.co/cran/%s\"", snapshot_date()),
" )",
")",
"```"
)
cat(text, sep = "\n")
```
[Production](production.qmd) is deployed in snapshots, and it works best with compatible versions of base R and dependency packages.
For details, please visit the [page on using Production](production.qmd#users).
## Other repositories
R-multiverse does not replace [CRAN](https://cran.r-project.org/).
In fact, most R-multiverse packages depend on [CRAN](https://cran.r-project.org/) packages.
In production environments,
[Production](production.qmd) snapshots should be deployed alongside
the [CRAN](https://cran.r-project.org/) package dependencies
and release version of base R from the same day that the R-multiverse snapshot was created.
## Infrastructure
R-multiverse is powered by [R-universe](https://r-universe.dev/), [GitHub Actions](https://github.com/features/actions),
and the public source code repositories in the [R-multiverse GitHub organization](https://github.com/r-multiverse).
## Support
R-multiverse originated from the R Consortium [Repositories Working Group](https://github.com/RConsortium/r-repositories-wg), and it was supported by [R Consortium](https://r-consortium.org) ISC grant 24-ISC-1-05.