Closed ychae closed 3 years ago
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()
:
Error: failed to determine Bioconductor repositories
Bioconductor
in the renv.lock
file to "Version": "3.11"
Error: install of package 'Cairo' failed
sudo apt-get update; sudo apt-get install -y libgtk2.0-dev xvfb libxt-dev
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
For installing packages, these changes fixed it for me.
When running it with R 4.0.2, I get this error:
Updating dplyr fixed it. The following package(s) will be updated:
CRAN ===============================
Using docker image
rocker/tidyverse:4.0.0-ubuntu18.04