Skip to content

Commit d35b6f4

Browse files
authored
docs: add notes about r-dependent-packages Feature (#228)
1 parent def7f00 commit d35b6f4

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ Install [the Quarto CLI](https://quarto.org/).
4040
Install the latest [R](https://www.r-project.org/) and R packages via apt.
4141
When installing R packages via apt, dependencies are automatically installed as well, and it is very fast.
4242

43+
44+
### [`r-dependent-packages`](src/r-dependent-packages/README.md)
45+
46+
Install R packages from a `DESCRIPTION` file in the repository.
47+
4348
### [`r-history`](src/r-history/README.md)
4449

4550
A simple setup to preserve R terminal history across Dev Container instances.

src/r-dependent-packages/NOTES.md

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ The package cache directory in the container is set to `/pak/cache`.
7878
This directory is stored in a volume named `devcontainer-pak-cache`
7979
and is shared among multiple containers.
8080

81+
- [r-packages Feature](../r-packages/README.md)
82+
- [renv-cache Feature](../renv-cache/README.md)
83+
8184
## References
8285

8386
- [pak](https://pak.r-lib.org/)

src/r-packages/NOTES.md

+5
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ For example, the following example runs as `pak::repo_add(rhub = 'https://r-hub.
9393
}
9494
```
9595

96+
## See also
97+
98+
- [r-dependent-packages Feature](../r-dependent-packages/README.md)
99+
- [renv-cache Feature](../renv-cache/README.md)
100+
96101
## References
97102

98103
- [pak](https://pak.r-lib.org/)

src/renv-cache/NOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ The cache directory in the container is set to `/renv/cache`.
2929
This directory is stored in a volume named `devcontainer-renv-cache`
3030
and is shared among multiple containers.
3131

32+
## See also
33+
34+
- [r-dependent-packages Feature](../r-dependent-packages/README.md)
35+
3236
## References
3337

3438
- [renv](https://rstudio.github.io/renv/)

0 commit comments

Comments
 (0)