-
Notifications
You must be signed in to change notification settings - Fork 49
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
Make igraph dependency optional #2146
Comments
Thanks, good point regarding the compilation time. Happy to review a PR that uses
|
Thanks for taking a look on this. Then I will dig into the code and see if I can disentangle it. As of my current knowledge, binary packages are not compatible with reproducibility solutions like the renv package, which compiles packages of a specified version, both on Windows (where otherwise binary packages are available per default) and Linux (where one need admin rights or a container compatible with the available binary PPAs) |
Thanks. In addition to the arguments above: Chances are that igraph is used by other packages, it has over 100 packages that import igraph or depend on it. |
This would also simplify using |
I would like to investigate the dm package as a recommendation for our group as an intermediate solution to multi-table handling that can be extended to a more thorough solution. However, I have to watch out for excessive dependencies as this complicates the installation process.
The igraph package, it seems to me, is only necessary to plot the relationships between the tables. This is useful, but not a core functionality. In contrast to the dependencies on the tidyverse packages, which often are already available because of their broad application range, igraph is only needed if one wants to compute on or visualize graphs. Therefore it is an additional burden (I timed 2m50s for the compilation time of igraph on Linux). But also on Windows this time must often be spent, e.g. when re-creating previously-used sets of packages for reproducibility (e.g. using renv). The process of installing many packages is cumbersome and error-prone especially for newcomers and the compilation times add up over many packages.
Therefore, as dm also has a potentially broad applicability like dplyr, I would be happy if you could relax the dependency on igraph to "Suggested".
The text was updated successfully, but these errors were encountered: