After successfully installing tidyverse with all its dependencies, when loading the package, the following error is given. How can I fix this?
> library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: if (theme$dark) crayon::white(x) else crayon::black(x)
error: missing value where TRUE/FALSE needed
UPDATE: I was recommended to move this to here.
UPDATE: If R GUI is used instead of R Studio, tidyverse loads without a problem. The issue is when library(tidyverse) gives an error when used in R Studio.