Skip to content

Commit 4f2eaac

Browse files
authored
Merge pull request #63 from r-multiverse/p3m-160
Fixes describing p3m
2 parents 53c28ab + 3e1f072 commit 4f2eaac

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

overview.qmd

+5-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ install.packages(
4242
[Production](production.qmd) is deployed in periodic snapshots throughout the year.
4343
The current Production snapshot was deployed on `r snapshot()$snapshot`.
4444
It was tested with the base R `r snapshot()$r` and [CRAN](https://cran.r-project.org/) packages from the [dependency freeze](#staging) on `r snapshot()$dependency_freeze`.
45-
Please use the `r snapshot()$dependency_freeze` CRAN snapshot from [Posit Public Package Manager (p3m)](https://packagemanager.posit.co) to install dependencies:
45+
Please use the `r snapshot()$dependency_freeze` version of CRAN from [Posit Public Package Manager (p3m)](https://packagemanager.posit.co) to install dependencies:^[[Posit Public Package Manager (p3m)](https://packagemanager.posit.co) might not actually snapshot CRAN every day, but it still hosts a usable `https://packagemanager.posit.co/cran/yyyy-mm-dd` URL, even if the underlying physical snapshot came from an earlier day. <https://p3m.dev/__api__/repos/cran/transaction-dates> lists all the physical snapshots.]
4646

4747
```{r, eval = TRUE, echo = FALSE, results = "asis"}
4848
text <- c(
@@ -64,9 +64,10 @@ cat(text, sep = "\n")
6464
R-multiverse does not replace [CRAN](https://cran.r-project.org/).
6565
In fact, most R-multiverse packages depend on [CRAN](https://cran.r-project.org/) packages.
6666
In production environments,
67-
[Production](production.qmd) snapshots should be deployed alongside
68-
the [CRAN](https://cran.r-project.org/) package dependencies
69-
and release version of base R from the same day that the R-multiverse snapshot was created.
67+
the [Production](production.qmd) snapshot should be deployed alongside the version of base R
68+
and the [p3m](https://packagemanager.posit.co) version of [CRAN](https://cran.r-project.org/)
69+
from the day of the corresponding [dependency freeze](production.qmd#month-1-dependency-freeze).
70+
See the documentation of [Production](production.qmd) for more details.
7071

7172
## Infrastructure
7273

production.qmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Prior to each snapshot, packages undergo a [Staging](#staging) process that grad
1616
The current Production snapshot was deployed on `r snapshot()$snapshot`.
1717
It includes package sources, Mac OS binaries, and Windows binaries.^[Binaries over a year old are automatically removed.]
1818
The snapshot was tested with the base R `r snapshot()$r` and [CRAN](https://cran.r-project.org/) packages from the [dependency freeze](#staging) on `r snapshot()$dependency_freeze`.
19-
Please use the `r snapshot()$dependency_freeze` CRAN snapshot from [Posit Public Package Manager (p3m)](https://packagemanager.posit.co) to install dependencies:
19+
Please use the `r snapshot()$dependency_freeze` version of CRAN from [Posit Public Package Manager (p3m)](https://packagemanager.posit.co) to install dependencies:^[[Posit Public Package Manager (p3m)](https://packagemanager.posit.co) might not actually snapshot CRAN every day, but it still hosts a usable `https://packagemanager.posit.co/cran/yyyy-mm-dd` URL, even if the underlying physical snapshot came from an earlier day. <https://p3m.dev/__api__/repos/cran/transaction-dates> lists all the physical snapshots.]
2020

2121
```{r, eval = TRUE, echo = FALSE, results = "asis"}
2222
text <- c(
@@ -46,7 +46,7 @@ Each month is a distinct phase that gradually hardens the packages that will ent
4646

4747
### Month 1: dependency freeze
4848

49-
Here, the [Staging repository](https://staging.r-multiverse.org) freezes the versions of base R^[Patch versions of base R can still update. For example, if the targeted base R version is 4.4, [checks](#checks) may enforce R 4.4.0, 4.4.1, 4.4.2, or 4.4.3.] and packages from [CRAN](https://cran.r-project.org)^[R-multiverse uses the [Posit Public Package Manager](https://packagemanager.posit.co/) snapshot of [CRAN](https://cran.r-project.org) from month 1 day 1.].
49+
Here, the [Staging repository](https://staging.r-multiverse.org) freezes the versions of base R^[Patch versions of base R can still update. For example, if the targeted base R version is 4.4, [checks](#checks) may enforce R 4.4.0, 4.4.1, 4.4.2, or 4.4.3.] and packages from [CRAN](https://cran.r-project.org)^[R-multiverse uses the [Posit Public Package Manager (p3m)](https://packagemanager.posit.co/) version of [CRAN](https://cran.r-project.org) from month 1 day 1. `p3m` might not have a physical snapshot from that precise day, but it provides a usable `install.packages()` URL. The physical snapshot might come from an earlier day. <https://p3m.dev/__api__/repos/cran/transaction-dates> lists the physical snapshots.].
5050
For the purpose of running and enforcing [checks](#checks), these versions of dependencies do not change until after the snapshot is finalized on month 3 day 1.
5151
New [Community](community.md) package releases freely enter and leave the [Staging repository](https://staging.r-multiverse.org).
5252
This process gives packages, contributors, and the [Staging repository](https://staging.r-multiverse.org) itself an entire month to adjust to a fixed and predictable set of dependencies.

0 commit comments

Comments
 (0)