CRI-iAtlas / shiny-iatlas

An interactive web portal for exploring immuno-oncology data. This repo now superseded by iatlas-app
https://www.cri-iatlas.org
Apache License 2.0
47 stars 12 forks source link

Check if install works on Rv4.0.0 #197

Closed ychae closed 3 years ago

ychae commented 4 years ago

Using docker image rocker/tidyverse:4.0.0-ubuntu18.04

ychae commented 4 years ago

iAtlas Rv4.0.0 installation test

Used the rocker/tidyverse:4.0.0-ubuntu18.04 image to test installation.

docker run -d --name rv4installtest -p 8787:8787 -e ROOT=TRUE -e PASSWORD=PASS_ENV rocker/tidyverse:4.0.0-ubuntu18.04

Followed instructions in the shiny-iatlas github README to install

Opening the .Rproj file, this warning appears:

Warning message:
Project requested R version '3.6.0' but '4.0.0' is currently being used 

Errors encountered when running renv::restore():

  1. Error: failed to determine Bioconductor repositories
    • Solved: updated the version of Bioconductor in the renv.lock file to "Version": "3.11"
  2. Error: install of package 'Cairo' failed
    • Solved by:
    • sudo apt-get update; sudo apt-get install -y libgtk2.0-dev xvfb libxt-dev
    • updated the version of Cairo in the rev.lock file to "Version": "1.5-12"

SUCCESS!

TL;DR - can install successfully on R v4.0.0 by updating the renv.lock file entries for Bioconductor and Cairo

Gibbsdavidl commented 3 years ago

For installing packages, these changes fixed it for me.

When running it with R 4.0.2, I get this error:

https://stackoverflow.com/questions/62340269/problems-with-dplyr-summarise-function-of-the-latest-r-version

Gibbsdavidl commented 3 years ago

Updating dplyr fixed it. The following package(s) will be updated:

CRAN ===============================