Here is the Error that I am getting
install.packages("glue")
There is a binary version available but the source version is later:
binary source needs_compilation
glue 1.3.2 1.4.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘glue’
trying URL 'https://cran.rstudio.com/src/contrib/glue_1.4.0.tar.gz'
Content type 'application/x-gzip' length 98619 bytes (96 KB)
downloaded 96 KB
- installing source package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘glue’ - removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/glue’
Warning in install.packages :
installation of package ‘glue’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/sm/n_29n6351fg1sq5lt8jcfj1h0000gn/T/Rtmp6ZKJao/downloaded_packages’
I tried installing the package from an archive file and it did not work.
System Information:
- RStudio Edition: Desktop
- RStudio Version: 1.2.5033
- OS Version: darwin15.6.0
- R Version: 3.6.3 (2020-02-29)
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
Random number generation:
RNG: Mersenne-Twister
Normal: Inversion
Sample: Rounding
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] knitr_1.28
loaded via a namespace (and not attached):
[1] compiler_3.6.3 assertthat_0.2.1 R6_2.4.1 tools_3.6.3 Rcpp_1.0.4
[6] xfun_0.12 rlang_0.4.5