安装R包出现rdb is corrupt报错

当安装R包时,出现如下问题的时候

devtools::install_github('satijalab/seurat-data')
Downloading GitHub repo satijalab/seurat-data@HEAD
Error: Failed to install 'SeuratData' from GitHub:61b9eb99/satijalab-seurat-data-0f7a002/DESCRIPTION’ ...
lazy-load database '/home/data/vip38/R/x86_64-pc-linux-gnu-library/4.0/cli/R/cli.rdb' is corrupt
In addition: Warning messages:
1: In (function () : restarting interrupted promise evaluation
2: In (function () : internal error -3 in R_decompress1

解决方法是重启R,然后再安装R包即可
.rs.restartR()

你可能感兴趣的:(安装R包出现rdb is corrupt报错)