Skip to content

Commit

Permalink
add note about r-dependent-packages feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jun 12, 2024
1 parent 8ae6626 commit 8e9b1f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions images/devcontainer/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ Several Dev Container Features allow R package installation to be defined on `de

These support package installation via `apt` or R function ([`pak::pak()`](https://pak.r-lib.org/reference/pak.html)).

There is also [the `renv-cache` Feature](https://github.com/rocker-org/devcontainer-features/tree/main/src/renv-cache)
that supports package installation via [the `renv` R package](https://rstudio.github.io/renv/) after container startup.
There are also [`r-dependent-packages`](https://github.com/rocker-org/devcontainer-features/tree/main/src/r-dependent-packages)
and [`renv-cache`](https://github.com/rocker-org/devcontainer-features/tree/main/src/renv-cache).

- `r-dependent-packages` supports package installation from a `DESCRIPTION` file via
([`pak::local_install_deps()`](https://pak.r-lib.org/reference/local_install_deps.html)) after container startup.
- `renv-cache` supports package installation via [the `renv` R package](https://rstudio.github.io/renv/) after container startup.

## See also

Expand Down

0 comments on commit 8e9b1f7

Please sign in to comment.