简体   繁体   中英

R: install_github

I am trying to calculate weight of evidence and information value, and found online that R package riv and tomasgreif does the job. Both packages are located on github, so I used the following code:

library(devtools)
install_github("riv","tomasgreif")
library(woe)

But it gives me the following error/warning message:

> install_github("riv","tomasgreif")
Installing github repo riv/master from tomasgreif
Downloading master.zip from https://github.com/tomasgreif/riv/archive/master.zip
Error in function (type, msg, asError = TRUE)  : couldn't connect to host
In addition: Warning message:
In mapCurlOptNames(names(.els), asNames = TRUE) :
  Unrecognized CURL options: writedata

How can I solve this problem? Thank you!

EDIT: I tried to download the file manually. R returned no error, but the package is not found in the list... (I am able to install some other packages saved in the same location with similar code)

> install.packages("~/riv.zip", repos = NULL)
> library("riv")
Error in library("riv") : there is no package called ‘riv’

late solution, but i was able to resolve it via downloading Open Source R from Revolution Analytics, then manually downloaded woe package from git and pasting that directly into library folder of OpenSource R
and loaded it library(woe) it will work

Also based on the same lines will be releasing IV and WOE for python also

Thanks Mahi

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM