Skip to content

Commit

Permalink
docs: add notes about r-dependent-packages Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed May 12, 2024
1 parent def7f00 commit 50a3a16
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions src/r-dependent-packages/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
5 changes: 5 additions & 0 deletions src/r-packages/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
4 changes: 4 additions & 0 deletions src/renv-cache/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit 50a3a16

Please sign in to comment.