library(tidyverse) fails in 4.0

Just upgraded R to 4.0.4, RTools to 4, and RStudio to 1.4. Now library(tidyverse) fails. As you can imagine, living without tidyverse is not an option.

In the course of trying to fix this, I uninstalled previous versions of R, RTools, and RStudio and did a fresh reinstall. (I am on Windows 10.) The error message I get begins

> library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in namespaceExport(ns, exports):
 undefined exports: augment_columns, bootstrap, confint_tidy, finish_glance, fix_data_frame, tidy_irlba
In addition: Warning message:
S3 methods ‘augment.NULL’, ‘augment.Mclust’, ‘augment.betamfx’, ‘augment.betareg’, ‘augment.clm’, 

Any suggestions gratefully received.

install.packages("tidyverse")

I have installed tidyverse, of course. I believe RStudio installs it by default. I suspect library() would give a different message if the package were not installed.

In any event, I have uninstalled and reinstalled the tidyverse package to no avail.

what if any error messages show up in your console when you install.packages tidyverse explicitly?
I think we would need to see the errors in order to address the related issues.

No error messages at all. I get

install.packages("tidyverse")
Installing package into ‘C:/Users/Dick/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tidyverse_1.3.0.zip'
Content type 'application/zip' length 439972 bytes (429 KB)
downloaded 429 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

ok, well

augment_columns comes from the tidyverse package 'broom'
so please try

install.packages("broom")
library(broom)
library(tidyverse)

we can address the issues iteratively.

That fixed it. I am really grateful for the very fast response and the clear solution.

You're very welcome, glad it turned out to be an easy fix

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.