Skip to content
Open
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
12 changes: 10 additions & 2 deletions accre-internal/Singularity.RStudio_2024.12.0-467__R_4.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ From: rockylinux:9
%arguments

# Define the software versions we wish to build
RSTUDIO_VERSION=2024.12.0-467
RSTUDIO_VERSION=2024.12.1-563
R_VERSION=4.4.2
LMOD_VERSION=8.7.56

Expand Down Expand Up @@ -45,7 +45,7 @@ From: rockylinux:9
export LMOD_RC=/accre/common/lmod/etc/lmodrc.lua
source /usr/local/lmod/lmod/init/bash
export PATH=/usr/lib/rstudio-server/bin:${PATH}
# Enable the lmod line below if you're using the lmod version of R instead of the Singularity R
# Enable the lmod line below to include lmod packages in the path
# ml GCC/10.2.0 OpenMPI/4.0.5 R/4.0.5

%setup
Expand Down Expand Up @@ -130,6 +130,14 @@ From: rockylinux:9
# Overwrite /etc/pam.d/rstudio with something more appropriate
cp /etc/pam.d/login /etc/pam.d/rstudio

# Add CRAN packages to the image
# /usr/local/bin/Rscript -e 'install.packages(c("tidyverse", "lubridate", "purrr", "broom"), repos = "https://cloud.r-project.org")'

# Add BioConductor packages to the image
# /usr/local/bin/Rscript -e 'install.packages("BiocManager", repos = "https://cloud.r-project.org")'
# /usr/local/bin/Rscript -e 'BiocManager::install(version = "3.20")'
# /usr/local/bin/Rscript -e 'BiocManager::install(c("BiocVersion", "GenomicAlignments", "preprocessCore"))'

# Remove files that are no longer necessary after building
dnf clean all -y
dnf autoremove -y
Expand Down