Until last night RStudio allowed me to build packages. Now, when I try to update documentation, I get an error:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : namespace 'cli' 2.0.1 is being loaded, but >= 2.0.2 is required Calls: suppressPackageStartupMessages ... namespaceImportFrom -> asNamespace -> loadNamespace Execution halted Exited with status 1.
However, the installed version of
cli is 2.0.2.
First I uninstalled cli, devtools and roxygen2 and installed them in the order
devtools When that didn't solve the problem I uninstalled R, RStudio and all libraries, then reinstalled them, but still the problem persists.
There is only one library location (
"C:/Program Files/R/R-3.6.3/library"), and there is only one version of
devtools in the directory. The
cli DESCRIPTION says "Version: 2.0.2"
Please, how can I solve the problem? I want to build packages.