cli won't go away, can't be manually deleted, now has -3 error

from a previous closed post:

but when I tried that solution, I've now got corruption !!! i deleted the urls below since I'm a noob and they aren't allowed

library(dplyr)
Error: package or namespace load failed for ‘dplyr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘cli’ 3.1.1 is being loaded, but >= 3.4.0 is required
install.packages("cli")
Installing package into ‘C:/Users/dugor/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL
Content type 'application/zip' length 1353497 bytes (1.3 MB)
downloaded 1.3 MB

package ‘cli’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\dugor\AppData\Local\Temp\RtmpWK0EA1\downloaded_packages

library(dplyr)
Error: package or namespace load failed for ‘dplyr’ in get(Info[i, 1], envir = env):
lazy-load database 'C:/Users/dugor/Documents/R/win-library/4.1/cli/R/cli.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
install.packages("cli")
Installing package into ‘C:/Users/dugor/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL
Content type 'application/zip' length 1353497 bytes (1.3 MB)
downloaded 1.3 MB

package ‘cli’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\dugor\AppData\Local\Temp\RtmpWK0EA1\downloaded_packages
Warning messages:
1: In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
2: In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1

library(dplyr)
Error: package or namespace load failed for ‘dplyr’ in get(Info[i, 1], envir = env):
lazy-load database 'C:/Users/dugor/Documents/R/win-library/4.1/cli/R/cli.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1

Hi, is it possible to install the latest version (something >= 3.4.0)? Or have you already tried that?

yes I did. couldn't . would fail and restore 3.1. I manually deleted it and then I had corruption issues that re-installs of packages wouldn't fix. I just fixed it by re-installing R-studio from scratch. I should close this now I guess

1 Like

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.