Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(r-packages): add note about the sysreqs option #223

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions src/r-packages/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,21 @@ or this should be installed after installing Features that installs R
Note that source installation of the R packages may require the installation of
additional build tools and system packages.

For Debian and Ubuntu,
you can use [the `ghcr.io/rocker-org/devcontainer-features/apt-packages` Feature](https://github.com/rocker-org/devcontainer-features/blob/main/src/apt-packages)
If many cases, we can use the `installSystemRequirements` option to install the system requirements
automatically by `pak::pak()`.

```json
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-apt:latest": {},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "cli",
"installSystemRequirements": true
}
}
```

Or, for Debian and Ubuntu,
we can use [the `ghcr.io/rocker-org/devcontainer-features/apt-packages` Feature](https://github.com/rocker-org/devcontainer-features/blob/main/src/apt-packages)
to install apt packages before installing this Feature.

```json
Expand Down