Tidyverse Package trying to install subpackage (colorspace) that does not exist

install.packages("tidyverse")
Installing package into ‘C:/Users/natha/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/tidyverse_1.3.2.zip'
Content type 'application/zip' length 428925 bytes (418 KB)
downloaded 418 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\natha\AppData\Local\Temp\RtmpC4mkJ0\downloaded_packages

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 @nong,
Welcome to the Posit/RStudio Community Forum.

Your R installation is missing the colorspace package. Simple install that first with install.packages("colorspace") and then run library("tidyverse").
HTH

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.