From 50a3a16114bb047d584b97820eeacd989e853c28 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Sun, 12 May 2024 17:07:20 +0900 Subject: [PATCH] docs: add notes about r-dependent-packages Feature --- README.md | 5 +++++ src/r-dependent-packages/NOTES.md | 3 +++ src/r-packages/NOTES.md | 5 +++++ src/renv-cache/NOTES.md | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/README.md b/README.md index f50ee5a..69a963e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ Install [the Quarto CLI](https://quarto.org/). Install the latest [R](https://www.r-project.org/) and R packages via apt. When installing R packages via apt, dependencies are automatically installed as well, and it is very fast. + +### [`r-dependent-packages`](src/r-dependent-packages/README.md) + +Install R packages from a `DESCRIPTION` file in the repository. + ### [`r-history`](src/r-history/README.md) A simple setup to preserve R terminal history across Dev Container instances. diff --git a/src/r-dependent-packages/NOTES.md b/src/r-dependent-packages/NOTES.md index 579b479..72ba419 100644 --- a/src/r-dependent-packages/NOTES.md +++ b/src/r-dependent-packages/NOTES.md @@ -78,6 +78,9 @@ The package cache directory in the container is set to `/pak/cache`. This directory is stored in a volume named `devcontainer-pak-cache` and is shared among multiple containers. +- [r-packages Feature](../r-packages/README.md) +- [renv-cache Feature](../renv-cache/README.md) + ## References - [pak](https://pak.r-lib.org/) diff --git a/src/r-packages/NOTES.md b/src/r-packages/NOTES.md index a6b97d2..b2b22bf 100644 --- a/src/r-packages/NOTES.md +++ b/src/r-packages/NOTES.md @@ -93,6 +93,11 @@ For example, the following example runs as `pak::repo_add(rhub = 'https://r-hub. } ``` +## See also + +- [r-dependent-packages Feature](../r-dependent-packages/README.md) +- [renv-cache Feature](../renv-cache/README.md) + ## References - [pak](https://pak.r-lib.org/) diff --git a/src/renv-cache/NOTES.md b/src/renv-cache/NOTES.md index 7d782a8..3b71207 100644 --- a/src/renv-cache/NOTES.md +++ b/src/renv-cache/NOTES.md @@ -29,6 +29,10 @@ The cache directory in the container is set to `/renv/cache`. This directory is stored in a volume named `devcontainer-renv-cache` and is shared among multiple containers. +## See also + +- [r-dependent-packages Feature](../r-dependent-packages/README.md) + ## References - [renv](https://rstudio.github.io/renv/)