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

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

Open
francoiskroll opened this issue Apr 1, 2021 · 1 comment
Open

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

francoiskroll opened this issue Apr 1, 2021 · 1 comment

Comments

@francoiskroll
Copy link

francoiskroll commented Apr 1, 2021

I understand this may be a problem with destiny (see theislab/destiny#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 <wchar.h>
^~~~~~~~~
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
Copy link

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.

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

2 participants