Skip to content

Conversation

@eitsupi
Copy link
Member

@eitsupi eitsupi commented May 2, 2024

Close #208

@dpprdan Could you take a look at this? (I am convinced that this is the right design, but I am not sure about the name!)

I assume this will be a simple Feature like https://github.com/rocker-org/devcontainer-features/tree/b24eea2adb7eb39260765f8d0e0cbddc65ac5537/src/r-history, just setting the script to the container.

As far as I know, there is a similar functionality in https://github.com/JuliaLang/devcontainer-features/tree/790b5321727e0b8bfe3bd338749978811c64428b/src/julia.
The lifecycle script just check the DESCRIPTION file exists, and execute something like R -q -e 'pak::pak(NULL, dependencies = "all")'

@eitsupi eitsupi force-pushed the r-packages-from-desc branch from c86d09c to 010f457 Compare May 10, 2024 03:36
@eitsupi eitsupi force-pushed the r-packages-from-desc branch from a8a3e57 to 930dda6 Compare May 12, 2024 04:52
@eitsupi eitsupi force-pushed the r-packages-from-desc branch from 66f9cf3 to 5c44688 Compare May 12, 2024 05:39
@eitsupi eitsupi marked this pull request as ready for review May 12, 2024 06:16
@eitsupi

This comment was marked as outdated.

@eitsupi eitsupi added the enhancement New feature or request label May 12, 2024
@eitsupi eitsupi changed the title feat(r-dependent-packages): add a new feature r-dependent-packages feat(r-dependent-packages): new feature r-dependent-packages May 12, 2024
@eitsupi eitsupi merged commit 2057c93 into main May 12, 2024
@eitsupi eitsupi deleted the r-packages-from-desc branch May 12, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[r-packages] Install dependencies from DESCRIPTION

2 participants