TomHarrop/r-containers:r_3.6.1

$ singularity pull shub://TomHarrop/r-containers:r_3.6.1

Singularity Recipe

Bootstrap: docker
From: rocker/verse:3.6.1

%help

    Container for plotting with R data.table and ggplot2

%labels

    MAINTAINER "Tom Harrop"
    VERSION "R 3.6.1"

%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', \
            'UpSetR', \
            'sysfonts', \
            'VennDiagram'), \
            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


View on Datalad

Metrics

key value
id /containers/TomHarrop-r-containers-r_3.6.1
collection name TomHarrop/r-containers
branch master
tag r_3.6.1
commit e1eb426cd153fd0669bc24508673228d2f25dd76
version (container hash) 81564080ee7be3b52f48d98449208a143012a9f196ad9b9d60810acd1868c6f8
build date 2020-04-20T01:05:39.141Z
size (MB) 958.58984375
size (bytes) 1005154304
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.