unable to install tidyverse since RStudio update

Since the latest update of R Studio was released, I am no longer able to load tidyverse (or several other packages), or install them without errors. Today, I updated to the latest version of R Studio and tried to use </>devtools::install_github("tidyverse/tidyverse")</> to install it again. The messages I received are below. In addition, when I attempt to load the tidyverse library it says </>Error in library(tidyverse) : there is no package called ‘tidyverse’</>.

Any help is appreciated.

Downloading GitHub repo tidyverse/tidyverse@master
from URL https://api.github.com/repos/tidyverse/tidyverse/zipball/master
Installing tidyverse
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/broom_0.4.5.tgz'
Content type 'application/x-gzip' length 1131010 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

Installing broom
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/dplyr_0.8.0.1.tgz'
Content type 'application/x-gzip' length 6072413 bytes (5.8 MB)
==================================================
downloaded 5.8 MB

Installing dplyr
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tibble_2.1.1.tgz'
Content type 'application/x-gzip' length 220495 bytes (215 KB)
==================================================
downloaded 215 KB

Installing tibble
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e134eaca8c2/tibble'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘tibble’ ...
* DONE (tibble)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e1344e7196e/dplyr'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘dplyr’ ...
* DONE (dplyr)
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tidyr_0.8.3.tgz'
Content type 'application/x-gzip' length 593197 bytes (579 KB)
==================================================
downloaded 579 KB

Installing tidyr
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e134fddc81a/tidyr'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘tidyr’ ...
* DONE (tidyr)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e1321f639a2/broom'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘broom’ ...
* DONE (broom)
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/dbplyr_1.3.0.tgz'
Content type 'application/x-gzip' length 322273 bytes (314 KB)
==================================================
downloaded 314 KB

Installing dbplyr
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e133c5f070b/dbplyr'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘dbplyr’ ...
* DONE (dbplyr)
Skipping install of 'dplyr' from a cran remote, the SHA1 (0.8.0.1) has not changed since last install.
  Use `force = TRUE` to force installation
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/haven_2.1.0.tgz'
Content type 'application/x-gzip' length 911655 bytes (890 KB)
==================================================
downloaded 890 KB

Installing haven
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e135bc342fd/haven'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘haven’ ...
* DONE (haven)
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/modelr_0.1.4.tgz'
Content type 'application/x-gzip' length 173501 bytes (169 KB)
==================================================
downloaded 169 KB

Installing modelr
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e131b6e3c7/modelr'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *binary* package ‘modelr’ ...
* DONE (modelr)
Skipping install of 'tibble' from a cran remote, the SHA1 (2.1.1) has not changed since last install.
  Use `force = TRUE` to force installation
Skipping install of 'tidyr' from a cran remote, the SHA1 (0.8.3) has not changed since last install.
  Use `force = TRUE` to force installation
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/5f/fjy6f99x2nj4dvp4lz48n5p80000gn/T/Rtmpt6Yu7c/devtools3e13505b6b9d/tidyverse-tidyverse-1d7f9b7'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

* installing *source* package ‘tidyverse’ ...
** R
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘broom’ 0.4.5 is being loaded, but >= 0.5.2 is required
ERROR: lazy loading failed for package ‘tidyverse’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tidyverse’
Installation failed: Command failed (1)

You are being asked to update the broom package.

install.packages("broom")

Also, please notice that this error has nothing to do with the IDE version, most likely your installation issues are do to the old R version you are using, I would recommend you to update to the latest R version so you can have access to precompiled binaries that are much easier to install.

Thank you, this worked. I updated base R and then was able to update and load tidyverse.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.