Error: package or namespace load failed for 'tidyverse' in loadNamespace...


Hi, I'm getting this error when loading tidyverse in Rstudio. How can I fix this please?

library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘colorspace’

Hi @Ikike_Nkanta , this suggest you install this packages and try to install tydiverse.
If not run well, maybe you need install Rtools.

# 1
install.packages('colorspace')

# 2
install.packages('tydiverse')
1 Like

Thank you very much @M_AcostaCH. I'll do that now.

Hi Ikike,

In case @M_AcostaCH 's solution does not solve your issue , please take a look at this answer I posted some time ago to a very similar issue.

Hope this helps :slight_smile:
Cheers!


This post was published by an Appsilon team member. Our company can help you get the most out of RShiny and Posit/RStudio products.

Check our open positions here.

Appsilon: Building impactful RShiny Dashboards and providing R coding services.
Appsilon_GIFsmall_whitebg

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.