> install.packages("~/Desktop/treeclim_2.0.6.0.tar", repos = NULL, type = "source", dependencies = TRUE)
* 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
Apple M1
macOS Sonoma 14.5
New contributor
ormbtnk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.