Thanks @vkatti - that worked. But when I try to load tidyverse using:
library(tidyverse)
I get the following error:
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘cli’ 3.2.0 is already loaded, but >= 3.3.0 is required
I tried to update Cli but get the following error message:
Error in value[3L] :
Package ‘cli’ version 3.2.0 cannot be unloaded:
Error in unloadNamespace(package) : namespace ‘cli’ is imported by ‘pillar’, ‘haven’ so cannot be unloaded