farrellja / URD

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

macOS: Can't install because of package 'destiny' #71

Open francoiskroll opened 3 years ago

francoiskroll commented 3 years ago

I understand this may be a problem with destiny (see https://github.com/theislab/destiny/issues/44), not URD per se; but you may have suggestions.

I cannot install URD on mac BigSur. I have tried a couple of different ways. For example using the one you recommend in INSTALL.md:

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

Error: Failed to install 'URD' from GitHub: (converted from warning) package ‘destiny’ is not available for this version of R

I tried installing package 'destiny' alone to get a more complete picture:

BiocManager::install("destiny")

[...] Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘destiny’ [...] /usr/local/clang4/bin/../include/c++/v1/wchar.h:119:15: fatal error: 'wchar.h' file not found

include_next

^~~~~ 1 error generated. make: *** [RcppExports.o] Error 1 ERROR: compilation failed for package ‘destiny’ [...] In install.packages(...) : installation of package ‘destiny’ had non-zero exit status

Which I think is exactly the same as the unresolved destiny issue quoted above.

You could probably fairly say it's destiny's problem, not yours. But any suggestions welcome 🙏

Edit1: I have tried install previous versions of destiny (https://bioconductor.org/packages/3.6/bioc/src/contrib/Archive/destiny/), same error

flying-sheep commented 3 years ago

That’s not even close to the same error! The destiny error is that the commandline is constructed wrong:

$ /usr/local/clang4/bin/clang++ -std=gnu++11 [...] -ggdb -fPIC XXFLAGS -c RcppExports.cpp -o RcppExports.o
clang-4.0: error: no such file or directory: 'XXFLAGS'

Your error is that wchar.h is not being found.