-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,11 @@ the goal is for the project to be reproducible to the maximum extent possible | |
|
||
# how | ||
|
||
## [on repositories](https://rstudio.github.io/renv/articles/package-sources.html#custom-r-package-repositories) | ||
## on repositories | ||
|
||
[renv: custom R package repositories](https://rstudio.github.io/renv/articles/package-sources.html#custom-r-package-repositories) | ||
|
||
## get | ||
|
||
```bash | ||
> options("repos") | ||
|
@@ -72,9 +76,20 @@ $repos | |
"https://packagemanager.posit.co/cran/latest" | ||
``` | ||
|
||
::: notes | ||
renv will | ||
::: | ||
## set: | ||
|
||
posit public package manager (p3m) | ||
|
||
```r | ||
options(repos = c(CRAN = "https://p3m.dev/cran/latest")) | ||
options("repos") | ||
``` | ||
|
||
## set: StatCan | ||
|
||
```r | ||
options(repos = c(artifactory = "https://username:[email protected]/artifactory/cran-remote")) | ||
``` | ||
|
||
## fetch examples | ||
|
||
|