aryeelab / hichipper

A preprocessing and QC pipeline for HiChIP data
MIT License
33 stars 12 forks source link

Rscript requirementsInstall.R fails with error in install.packages #32

Closed sowmyaiyer closed 6 years ago

sowmyaiyer commented 6 years ago

Error:

Error in contrib.url(repos, type) :
  trying to use CRAN without setting a mirror
Calls: install_pkgs -> install.packages -> grep -> contrib.url
Execution halted

Fix: Added the parameter "repos" to install.packages on line 3 if (length(new.pkg)) install.packages(new.pkg, dependencies = TRUE, repos="https://cloud.r-project.org")

caleblareau commented 6 years ago

great, I see no reason why this wouldn't work. Implemented in new commit. Thanks!