Error when loading 'tidyverse' package

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

This error means that you need to install the colorspace package before installing tidyverse

install.packages("colorspace")

Repeat as needed if a similar error message appears. Sometimes R does not automatically install a dependency .

Thanks a lot ! It really helped me.