TomHarrop/r-containers:r_3.6.2
$ singularity pull shub://TomHarrop/r-containers:r_3.6.2
Singularity Recipe
Bootstrap: docker
From: rocker/verse:3.6.2
%help
Container for plotting with R data.table and ggplot2
%labels
MAINTAINER "Tom Harrop"
VERSION "R 3.6.2"
%post
# install dependencies
apt-get update
apt-get install -y \
libbz2-dev \
liblzma-dev \
libpcre++-dev
# install packages from bioconductor
Rscript -e "options(Ncpus=8); \
install.packages('BiocManager') ; \
BiocManager::install(c(\
'Cairo', \
'cowplot', \
'data.table', \
'extrafont', \
'ggimage', \
'ggtree', \
'hexbin', \
'sysfonts', \
'UpSetR', \
'VennDiagram', \
'viridis'),
type='source', ask=FALSE)"
# install lato
wget -O "lato.zip" \
http://www.latofonts.com/download/Lato2OFL.zip
unzip lato.zip
mv Lato2OFL /usr/share/fonts/truetype/
rm lato.zip
fc-cache -f -v
Rscript -e "library('extrafont') ; \
font_import(prompt=FALSE) ; \
loadfonts()"
%runscript
exec /usr/local/bin/R "$@"
Collection
- Name: TomHarrop/r-containers
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/TomHarrop-r-containers-r_3.6.2 |
collection name | TomHarrop/r-containers |
branch | master |
tag | r_3.6.2 |
commit | 5eb2eca6057d9a6ec27ae3f7f9e58b518e4172cb |
version (container hash) | 8fd1c7b3aadf247212f012dd10b63cb9010a5c18c22425bf70b9e5d3d80df14c |
build date | 2021-03-01T03:47:16.213Z |
size (MB) | 1203.390625 |
size (bytes) | 1261846528 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.