r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
300 stars 125 forks source link

Installation getting hung up on 'matrix' version #112

Closed mvinyard closed 4 years ago

mvinyard commented 4 years ago

Hi @r3fang,

After running the following code:

> library(devtools)
> install_github("r3fang/SnapATAC")

This is the result I get:

Downloading GitHub repo r3fang/SnapATAC@master
✔  checking for file ‘/tmp/RtmpvWsRrG/remotes88259b6c947/r3fang-SnapATAC-f84c604/DESCRIPTION’ ...
─  preparing ‘SnapATAC’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘SnapATAC_1.0.0.tar.gz’

Installing package into ‘/home/mvinyard/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
* installing *source* package ‘SnapATAC’ ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error : package ‘Matrix’ 1.2.12 was found, but >= 1.2.14 is required by ‘SnapATAC’
ERROR: lazy loading failed for package ‘SnapATAC’
* removing ‘/home/mvinyard/R/x86_64-pc-linux-gnu-library/3.4/SnapATAC’
Error: Failed to install 'SnapATAC' from GitHub:
  (converted from warning) installation of package ‘/tmp/RtmpvWsRrG/file8824013d2f/SnapATAC_1.0.0.tar.gz’ had non-zero exit status
>

I made sure to update Matrix (to the latest version: 1.2.17), however this error persists and I'm not sure why. If you are aware of anything that might be causing this, I would greatly appreciate your help!

mvinyard commented 4 years ago

I figured it out, nevermind.