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

Preinstall needed packages on R Studio workbench #342

Open
7 tasks
atheo89 opened this issue Nov 14, 2023 · 0 comments
Open
7 tasks

Preinstall needed packages on R Studio workbench #342

atheo89 opened this issue Nov 14, 2023 · 0 comments
Assignees
Labels
feature/rstudio JIRA jira issue exists for following github issue kind/feature New feature or request

Comments

@atheo89
Copy link
Member

atheo89 commented Nov 14, 2023

JIRA: https://issues.redhat.com/browse/RHOAIENG-366

Why you need this feature:

If the bellow packages missing, the majority of the packages will fail installing, either directly or due to missing dependencies.

libsodium-devel.x86_64 
libgit2-devel.x86_64
libcurl-devel
cmake
flexiblas-*
devtools
Rcpp.h
hb-ft.h
lfreetype 
lharfbuzz 
lfribidi 
lpng
tidyverse
tidymodels
plumber
vetiver

Describe the solution you'd like:

Rcpp has to be compiled, add in containefile RUN R -e ‘install.packages(“Rcpp”)’ to get the missing headerfile. OBS! This package has to be installed first, execute it on its own line. It is the C compiler for R. If this is missing, the majority of the packages will fail installing, either directly or due to missing dependencies.

Preinstall needed packages, add to containerfile or similar:
RUN dnf install -y libsodium-devel.x86_64 && dnf install -y libgit2-devel.x86_64 && dnf install -y libcurl-devel && dnf install -y cmake && dnf install -y flexiblas-*

Preinstall these packages to save data scientist time to install. Add this to containerfile:
RUN R -e ‘install.packages(c(“tidyverse”, “tidymodels”, “plumber”, “vetiver”, “devtools”))’

Anything else you would like to add:

Document: https://docs.google.com/document/d/1Hp0cg98FqptMxerB5jtbFAcvaRH2uZZgBjTLt5FojuE/edit#heading=h.i4eajclb9qkj

Acceptance criteria

Dev:

  • Explore the package that needs to be installed and provide the methods to install them.
    • Check if these packages are minimal packages.
  • Install R-core package based on the exploration along with the OS binaries.
  • Test the R-core package installed.

QA:

  • Automation on ODS-CI to check on these pre-installed packages.
    Example: here

Docs:

  • Document the information about the installed pre-installed.
  • Document on how to install additional packages if the user wishes too.
    example: here
@atheo89 atheo89 added the kind/feature New feature or request label Nov 14, 2023
@adrielparedes adrielparedes added the JIRA jira issue exists for following github issue label Dec 6, 2023
harshad16 added a commit to harshad16/odh-notebooks that referenced this issue Aug 2, 2024
…st-updater-10216703659

[Digest Updater Action] Update Runtime Images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/rstudio JIRA jira issue exists for following github issue kind/feature New feature or request
Projects
Status: 🔖Todo
Development

No branches or pull requests

4 participants