Closed andrewkeithly closed 4 years ago
I ran into this as well on macOS and found I needed to first install the glpk package outside of R using homebrew: brew install glpk
. From what I read online the solution is similar on Ubuntu/SL/CentOS with their respective package managers.
See the latest version of the app here: https://github.com/FantasyFootballAnalytics/ffanalytics
Running
source("main.R")
fails to installRglpk
due to a dependency onglpk
thatdependencies=TRUE
can not resolve. I had to manually installglpk
to resolve the issue. I'm on macOS so I used homebrew tobrew install glpk
.Error:
From Traceback to
library("Rglpk") at Functions.R#11
it appearsRglpk
did not install.Running
install.packages("Rglpk", dependencies=TRUE)
gives the following output:It appears to be CRAN/R problem.