Simon-Coetzee / motifBreakR

A Package For Predicting The Disruptiveness Of Single Nucleotide Polymorphisms On Transcription Factor Binding Sites.
28 stars 12 forks source link

GitHub installation error #22

Closed bschilder closed 4 years ago

bschilder commented 4 years ago

Hello,

I seem to be unable to install motifbreakR via the GitHub repo. It seems to be a compatibility issue with the package S4Vectors.

devtools::install_github("Simon-Coetzee/motifBreakR")
Downloading GitHub repo Simon-Coetzee/motifBreakR@master
✓  checking for file ‘/private/var/folders/sw/km9819713937hp640lj59ygw0000gn/T/Rtmpcd842u/remotese5716b8a42c2/Simon-Coetzee-motifBreakR-a444e0e/DESCRIPTION’ ...
─  preparing ‘motifbreakR’:
✓  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
     NB: this package now depends on R (>= 3.5.0)
     WARNING: Added dependency on R >= 3.5.0 because serialized objects in  serialize/load version 3 cannot be read in older versions of R.  File(s) containing such objects:  'motifbreakR/inst/example.pvalue.rda'
─  building 'motifbreakR_2.1.2.tar.gz'

* installing *source* package ‘motifbreakR’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package ‘S4Vectors’ was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package ‘motifbreakR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/motifbreakR’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/motifbreakR’
Error: Failed to install 'motifbreakR' from GitHub:
  (converted from warning) installation of package '/var/folders/sw/km9819713937hp640lj59ygw0000gn/T//Rtmpcd842u/filee571422505b6/motifbreakR_2.1.2.tar.gz' had non-zero exit status
dennishazelett commented 4 years ago

MotifbreakR isn't your problem. R is complaining that you're running R version 3.6.2 but you have a dependency that was built under a different version.

bschilder commented 4 years ago

Upgrading R to 3.6.3 seemed to fix it. Thanks.