Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build suddenly fails because cannot find igraph #50

Closed
gluc opened this issue Jan 25, 2016 · 7 comments
Closed

Build suddenly fails because cannot find igraph #50

gluc opened this issue Jan 25, 2016 · 7 comments

Comments

@gluc
Copy link

gluc commented Jan 25, 2016

Thanks a lot for the package!

As of a few days ago, my build for gluc/data.tree suddenly stops working, saying igraph isn't available, though igraph is available.

My project is rather standard, I would say.

See here for the appveyor file: https://github.com/gluc/data.tree/blob/dev/appveyor.yml

See here for description: https://github.com/gluc/data.tree/blob/dev/DESCRIPTION

+ Rscript -e 'if (!("devtools" %in% rownames(installed.packages()))) q(status=1)'
+ Rscript -e 'library(devtools); library(methods); options(repos=c(CRAN="http://cran.rstudio.com")); install_deps(dependencies = TRUE)'
Skipping 1 unavailable package: igraph
Installing 25 packages: ape, chron, colorspace, data.table, DiagrammeR, dichromat, doParallel, foreach, ggplot2, gridBase, gtable, htmltools, htmlwidgets, httpuv, iterators, labeling, munsell, networkD3, RColorBrewer, reshape2, scales, shiny, treemap, visNetwork, xtable
@gaborcsardi
Copy link

igraph is actually not available on r-devel, see e.g. https://cran.rstudio.com/web/packages/igraph/

@gluc
Copy link
Author

gluc commented Jan 25, 2016

Fair enough.
The only thing I don't get is why it used to work: https://ci.appveyor.com/project/gluc/data-tree/build/1.0.9

@gaborcsardi
Copy link

Because r-devel used to have binary igraph, I guess.

I think you can just use r-release instead of r-devel, right @krlmlr ? Or is that not part of the image any more?

@krlmlr
Copy link
Owner

krlmlr commented Jan 26, 2016

It's still part of the image: https://github.com/krlmlr/r-portable/tree/master/Image. But you need to override PATH, as currently it's hard-coded to r-devel:

$env:PATH = $RDrive + '\R\bin\i386;' + 'C:\MinGW\msys\1.0\bin;' + $env:PATH
. This is not ideal, a better way would be to use separate images, but don't hold your breath (krlmlr-archive/r-portable#4).

@krlmlr
Copy link
Owner

krlmlr commented Feb 15, 2016

Do your builds work now?

@dougmet
Copy link

dougmet commented Feb 21, 2016

I have igraph as a Suggests package and had the same problem. Adding:

environment:
  R_VERSION: stable

to here https://github.com/dougmet/unsumnet/blob/master/appveyor.yml#L16 fixed it for me (see also #53 about release vs stable).

@gluc
Copy link
Author

gluc commented Feb 22, 2016

Thanks a lot, that did the trick!

@gluc gluc closed this as completed Feb 22, 2016
gluc added a commit to gluc/data.tree that referenced this issue Feb 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants