Hello, I am a fairly novice R user but have been using 3.5.1 happily for some time. I upgraded to 3.6.2 last night, I also updated R Studio. I am running MacOS Mojave 10.14.6.
I set up a new library for 3.6 as this didnt happen automatically, updated my library paths and if I run .libPaths I get:
[1] "/Users/xxxxxxxxx/Library/R/3.6/library"
[2] "/Library/Frameworks/R.framework/Versions/3.6/Resources/library"
These libraries appear in my 'install packages' menu in R Studio. Most of my packages seem to have updated and reinstalled OK. I can wok with dplyr for example. However, tidyverse won't install.
I get the following error:
Installing package into ‘/Users/xxxxxxxxLibrary/R/3.6/library’
(as ‘lib’ is unspecified)
also installing the dependency ‘broom’
There is a binary version available but the source version is
later:
binary source needs_compilation
broom 0.5.3 0.5.4 FALSE
trying URL 'https://cran.ma.imperial.ac.uk/bin/macosx/el-capitan/contrib/3.6/tidyverse_1.3.0.tgz'
Content type 'application/x-gzip' length 433010 bytes (422 KB)
==================================================
downloaded 422 KB
The downloaded binary packages are in
/var/folders/1_/wkz168ld00s6yp03mzzb7qjm0000gn/T//RtmprLXmRm/downloaded_packages
installing the source package ‘broom’
trying URL 'https://cran.ma.imperial.ac.uk/src/contrib/broom_0.5.4.tar.gz'
Content type 'application/x-gzip' length 1228129 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘broom’
Execution halted
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/1_/wkz168ld00s6yp03mzzb7qjm0000gn/T/RtmprLXmRm/downloaded_packages’
I have tried specifically installing broom and I get
There is a binary version available but the source version is
later:
binary source needs_compilation
broom 0.5.3 0.5.4 FALSE
installing the source package ‘broom’
trying URL 'https://cran.ma.imperial.ac.uk/src/contrib/broom_0.5.4.tar.gz'
Content type 'application/x-gzip' length 1228129 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘broom’
Execution halted
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/1_/wkz168ld00s6yp03mzzb7qjm0000gn/T/Rtmp32QR1a/downloaded_packages’
I was going to try using devtools to get from github but I have the same problem with the package 'callr' and cannot install devtools either. The packages I am aware of having an issue are: callr, broom, repr. There may be others.
I can see that broom was updated on 27 Jan so possibly there is a lag in the compiled version(?!) (I have seen other posters find that waiting a day solved it) - how likely is that?
I have unintsalled and reinstalled R studio, tried in the command line instead just to be thorough.
I tried downloading and unzipping broom direct into the library folder which worked briefly and the R studio kept crashing so this may have been foolhardy. Any help gratefully received.