farrellja / URD

URD - Reconstruction of Branching Developmental Trajectories
GNU General Public License v3.0
117 stars 41 forks source link

Possible extra system dependency - udunits #10

Closed snugghash closed 6 years ago

snugghash commented 6 years ago

Using R-3.4.1, the full install script failed at ggraph for me. Further investigation reveals a library libudunits2.a is missing. I installed udunits from the AUR, could be under a different name in your distribution. Possible extra steps necessary -

install.packages("udunits2")
devtools::install_github(c("hadley/ggplot2", "GuangchuangYu/ggtree"))

source("https://raw.githubusercontent.com/farrellja/URD/master/URD-Install.R") now works.

farrellja commented 6 years ago

Were you installing on a linux distribution? libudunits2 is indeed required (annoyingly, due to some of URD's dependencies). It seems to be part of Mac OS X and Windows, but often requires manual installation on Linux. I added a section to "Troubleshooting" in install.md, but want to double-check that this does not affect any other OS.

snugghash commented 6 years ago

I tested this and ggraph required libudunits2 on Arch, Debian, CentOS. I did not test this personally on Windows, but I believe you're right - I do not recall witnessing the issue when the install happened.

Sorry for the late reply.

Edit: I could get back to you with certainty about Windows in 24 hours or so.

snugghash commented 6 years ago

Alright, I can confirm that windows R3.4.1 doens't require additional system dependencies. Thanks for adding this to the documentation!