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

Error installing nat #298

Closed
alexanderbates opened this issue Apr 12, 2016 · 5 comments
Closed

Error installing nat #298

alexanderbates opened this issue Apr 12, 2016 · 5 comments

Comments

@alexanderbates
Copy link
Collaborator

Error installing nat on some machines (Kathi's). Says that the function 'bfs' is not imported from the namescpae igraph. But the newest igraph seems to still have bfs...

@jdmanton
Copy link
Collaborator

Hi Alex,

What's the output of

R.Version()

and

ip <- as.data.frame(installed.packages()[,c(1,3:4)])
rownames(ip) <- NULL
ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
print(ip, row.names=FALSE)

?

@alexanderbates
Copy link
Collaborator Author

Sorry, the system didn't have the newest version of R, that was the problem. Thank you for pointing me in the right direction. Works fine now.

@jefferis
Copy link
Collaborator

Which version did it have? We might make a version restriction in the package DESCRIPTION.

@alexanderbates
Copy link
Collaborator Author

R version 3.1.2 (2014-10-31). I have version 3.2.2 and it all works fine.

@jefferis
Copy link
Collaborator

jefferis commented Apr 20, 2016

Just as a note, the specific problem is that on older version of macosx with older versions of R, igraph >1.0 is not available in binary form and nat now depends on that. The simple thing to is to put a version requirement on igraph. However compiling it is a bit of a pain and I don't think I'm using any functionality that is specific to v1 of the library. So I could change bfs to graph.bfs (the old name). However there may be some other things that are still 1.0 specific by chance.

jefferis added a commit that referenced this issue Apr 20, 2016
* closes #298 by making nat igraph 0.7.1 compatible again
* fix/igraph-0.7:
  add explicit igrpah version requirement
  revert all unecessary igraph 1.0 specific usage
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

3 participants