Commit 79ae3321 authored by Amine  GHOZLANE's avatar Amine GHOZLANE
Browse files

Solve rlang issue

parent e48e5bb9
Pipeline #79420 passed with stages
in 113 minutes and 14 seconds
FROM ubuntu:18.04
ARG SOURCE_VERSION=202102
ARG SOURCE_VERSION=202204
ARG CRAN_SOURCE=http://cran.irsn.fr/
MAINTAINER Amine Ghozlane "amine.ghozlane@pasteur.fr"
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
......@@ -45,7 +46,7 @@ RUN wget --no-verbose https://cran.r-project.org/src/base/R-3/R-3.6.1.tar.gz -P
wget ftp://shiny01.hosting.pasteur.fr/pub/shaman_package_${SOURCE_VERSION}.tar.gz -P /opt && \
mkdir /opt/packman
RUN R -e """install.packages('devtools', repos='http://cran.irsn.fr/');devtools::install_github('rstudio/packrat');packrat::unbundle('/opt/shaman_package_${SOURCE_VERSION}.tar.gz', '/opt/packman')"""
RUN R -e """install.packages('devtools', repos='${CRAN_SOURCE}');devtools::install_github('rstudio/packrat');packrat::unbundle('/opt/shaman_package_${SOURCE_VERSION}.tar.gz', '/opt/packman')"""
COPY docker_inst/shiny-server.conf /etc/shiny-server/shiny-server.conf
COPY docker_inst/.Rprofile /srv/shiny-server/
......
......@@ -235,13 +235,13 @@ function(request) {
tabPanel("R install with Packrat (linux only)",
p("SHAMAN is available for R=3.6.1. Packrat framework allows an easy installation of all the dependencies. Of note, raw data submission is not possible with this version.",style = "font-family: 'times'; font-si16pt"),
mainPanel(div(style = 'max-width: 900px; word-wrap: break-word;',
"# Download packrat package",br(),"wget ftp://shiny01.hosting.pasteur.fr/pub/shaman_package_202102.tar.gz", br(),
"# Download packrat package",br(),"wget ftp://shiny01.hosting.pasteur.fr/pub/shaman_package_202204.tar.gz", br(),
"mkdir packrat/"), width=9,class="mainwell"),
p("Now you can run R:"),
mainPanel(div(style = 'max-width: 900px; word-wrap: break-word;',
"install.packages(\"devtools\")",br(),
"devtools::install_github(\"rstudio/packrat\")",br(),
"packrat::unbundle(\"shaman_package_202102.tar.gz\", \"packrat/\")", br(),
"packrat::unbundle(\"shaman_package_202204.tar.gz\", \"packrat/\")", br(),
"packrat::init(\"packrat/shaman\")",br(),
"system(\"Rscript -e 'shiny::runGitHub(\\\"pierreLec/KronaRShy\\\",port=5438)'\",wait=FALSE)",
br(),"shiny::runGitHub('aghozlane/shaman')"),width=9,class="mainwell")),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment