Cannot update tidyselect

Today I updated several packages via RStudio. With the exception of tidyselect everything went smoothly.

After

  • restarting the R session
  • writing install.packages("tidyselect") into the console and
  • confirming that I want the package installed from sources

I got the error message:

Error in unloadNamespace("tidyselect") :
namespace ‘tidyselect’ is imported by ‘dplyr’ so cannot be unloaded

But dplyr was not loaded: I started with I clean/new session.

I am using macOS Monterey 12.2.1 and R version 4.1.2 (2021-11-01).

Maybe the package is being loaded on start by a startup file or as a consequence of restoring your previous environment.

Check the content of your startup files and disable the restore environment option.

Yes, this solved the problem. Thank you!

This topic was automatically closed 7 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.