dirkschumacher / rcbc

COIN-OR branch and cut (CBC) bindings for R
https://dirkschumacher.github.io/rcbc/
Other
20 stars 5 forks source link

using rcbc in a shiny app / windows #27

Closed cmber closed 5 years ago

cmber commented 5 years ago

I've been working with rcbc under windows 10 for some time now and it works perfectly. I was able to install it using devtools. Now, I would like to test a shiny app I developed that makes use of rcbc. When I try to deploy the app (using RStudio) I got the following error:

------------------------- ANTICONF ERROR --------------------------- Configuration failed because cbc was not found. Try installing:

In general I can understand what the error message is telling but I have no idea how to get rid of it. I would appreciate any ideas. Thanks, Christian.

dirkschumacher commented 5 years ago

Those libraries might not be available on your shiny server. Do you host it yourself? If you host it on shinyapps.io, you need to make sure shinyapps has the ubuntu dependencies listed above installed. I think you can request that in an rstudio github repository.