hansenlab / minfi

Devel repository for minfi
59 stars 70 forks source link

Installation Error on RStudio Cloud #236

Open JosephGatto opened 2 years ago

JosephGatto commented 2 years ago

Hello,

I need to get Minfi installed on Cloud 4.2.0 but continuously get rtracklayer errors. Nothing I can find online helps. Any workaround?

kasperdanielhansen commented 2 years ago

Respectfully, it is a bit hard to know what is happening without any details. It is not clear that this is even a minfi issue. You should get back with (substantially) more detail including substantial output. I suggest writing in a way where you have some overview text and then some "appendices" with code+results.

JosephGatto commented 2 years ago

Thank you for getting back to me so quickly and my apologies for the lack of detail.

When I load R Studio Cloud (v. 4.2.0), I simply first run

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install(version = "3.15")

Followed by

BiocManager::install("minfi")

This produces the following error message

installing to /cloud/lib/x86_64-pc-linux-gnu-library/4.2/00LOCK-rtracklayer/00new/rtracklayer/libs
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ‘rtracklayer’
* removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.2/rtracklayer’

The downloaded source packages are in
    ‘/tmp/RtmpCru8my/downloaded_packages’
Installation paths not writeable, unable to update packages
  path: /opt/R/4.2.0/lib/R/library
  packages:
    MASS, nlme, survival
Warning message:
In install.packages(...) :
  installation of package ‘rtracklayer’ had non-zero exit status

Nothing I try to get rtracklayer downloaded separately seems to work. Wondering if this is a known issue, something specific to R Studio Cloud, an rtracklayer problem, etc.