I'm using R studio version 3.3.3. I've been trying to install tidyverse but I've been having some issue. I've been trying to install tidyverse using:
install.packages("tidyverse")
when I do I receive this output
also installing the dependencies ‘ellipsis’, ‘rlang’, ‘vctrs’, ‘hms’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.1.6 0.4.1 TRUE
hms 0.4.0 0.5.2 FALSE
tidyverse 1.1.1 1.2.1 FALSE
Do you want to install from sources the package which needs compilation?
y/n:
Does anyone know what this means and what the correct input would be? It also asks an additional question and I've tried answering y to both but it just results in this and the package won't read using library():
Do you want to install from sources the package which needs compilation?
y/n: y
Packages which are only available in source form, and may need compilation of
C/C++/Fortran: ‘ellipsis’ ‘vctrs’
Do you want to attempt to install these from sources?
y/n: y
installing the source packages ‘ellipsis’, ‘rlang’, ‘vctrs’, ‘hms’, ‘tidyverse’
trying URL 'https://cran.rstudio.com/src/contrib/ellipsis_0.3.0.tar.gz'
Content type 'application/x-gzip' length 7371 bytes
==================================================
downloaded 7371 bytes
trying URL 'https://cran.rstudio.com/src/contrib/rlang_0.4.1.tar.gz'
Content type 'application/x-gzip' length 797012 bytes (778 KB)
==================================================
downloaded 778 KB
trying URL 'https://cran.rstudio.com/src/contrib/vctrs_0.2.0.tar.gz'
Content type 'application/x-gzip' length 668258 bytes (652 KB)
==================================================
downloaded 652 KB
trying URL 'https://cran.rstudio.com/src/contrib/hms_0.5.2.tar.gz'
Content type 'application/x-gzip' length 136186 bytes (132 KB)
==================================================
downloaded 132 KB
trying URL 'https://cran.rstudio.com/src/contrib/tidyverse_1.2.1.tar.gz'
Content type 'application/x-gzip' length 61647 bytes (60 KB)
==================================================
downloaded 60 KB
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Europe/London'
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘rlang’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rlang’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rlang’
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Europe/London'
* installing *source* package ‘ellipsis’ ...
** package ‘ellipsis’ successfully unpacked and MD5 sums checked
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘ellipsis’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ellipsis’
Warning in install.packages :
installation of package ‘ellipsis’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Europe/London'
ERROR: dependency ‘ellipsis’ is not available for package ‘vctrs’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Europe/London'
ERROR: dependency ‘vctrs’ is not available for package ‘hms’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/hms’
Warning in install.packages :
installation of package ‘hms’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Europe/London'
ERROR: dependency ‘hms’ is not available for package ‘tidyverse’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tidyverse’
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/5t/6clft5vx41dcn9cxxp220pq00000gn/T/RtmpwxNiUe/downloaded_packages’
Please let me know if you know what I can do to solve this or any other information that you might need to answer my question. Thank you!