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

Unable to install on Apple M1 macOS Sonoma 14.5 #12

Open
ormanbotanik opened this issue May 16, 2024 · 0 comments
Open

Unable to install on Apple M1 macOS Sonoma 14.5 #12

ormanbotanik opened this issue May 16, 2024 · 0 comments

Comments

@ormanbotanik
Copy link

> install.packages("~/Desktop/treeclim_2.0.6.0.tar", repos = NULL, type = "source")
* installing *source* package ‘treeclim’ ...
** package ‘treeclim’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
make: *** /Users/user/.R/Makevars: Is a directory.  Stop.
Warning in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"),  :
  running command 'make -f 'Makevars' -f '/Library/Frameworks/R.framework/Resources/etc/Makeconf' -f '/Library/Frameworks/R.framework/Resources/share/make/shlib.mk' -f '/Users/user/.R/Makevars' compilers' had status 2
Error in if (nzchar(cxx)) { : argument is of length zero
* removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/treeclim’
Warning in install.packages :
  installation of package ‘/Users/user/Desktop/treeclim_2.0.6.0.tar’ had non-zero exit status

How can I solve this problem?

RStudio Version 2024.04.0+735 (2024.04.0+735)

Apple M1 macOS Sonoma 14.5

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

1 participant