Open complexgenome opened 4 years ago
Are you behind a proxy? If so, see https://github.com/pfultz2/cget/issues/77.
Yes, I'm behind proxy and http, https are already set to circumvent proxy firewalls.
Which one of the above two methods is good for installation?
I'm not sure which "two methods" you are referring to. In any case, is the http_proxy environment variable set when when you run the install? See https://stackoverflow.com/questions/3168171/how-can-i-open-a-website-with-urllib-via-proxy-in-python. This package uses a python script that uses urllib to install dependencies. These dependency downloads are failing due to a quirk with urllib and HTTP proxies.
I've following two lines in my .bashrc
file
export http_proxy="some value"
export https_proxy="some more value"
I'm referring to the following two methods, sorry I wasn't clear in my first post:
method 1
git clone "https://github.com/statgen/Rprs.git"
R CMD INSTALL Rprs -l ./
method 2: a two step process
a) download
git clone "https://github.com/statgen/Rprs.git"
b) Go to the library you'd like to install
cd r_lib_folder
R CMD INSTALL ../Rprs -l ./
folder ../Rprs
is one level above the r_lib_folder
directory.
best,
1) download
git clone "https://github.com/statgen/Rprs.git"
2) Go to the library you'd like to install
R CMD INSTALL ../Rprs -l ./
Warnings and errors:If I don't clone in a seprate directory upon tryial to install it errors out. Two steps:
Error
Any clues? I'm on debian, R4.0