将R升级到了3.5.1之后,1将原有的library中的包拷贝至新library目录下,2运行了update.package(),按道理说R包们就应该都升级成功了。但是还是会被提醒某些包要重新装,是什么情况呢?
> library(mice)
Error: package or namespace load failed for ‘mice’:
package ‘purrr’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lattice_0.20-35
loaded via a namespace (and not attached):
[1] Rcpp_0.12.19 crayon_1.3.4 assertthat_0.2.0 MASS_7.3-51
[5] grid_3.5.1 R6_2.3.0 magrittr_1.5 pillar_1.3.0
[9] rlang_0.3.0.1 rstudioapi_0.8 bindrcpp_0.2.2 tools_3.5.1
[13] glue_1.3.0 yaml_2.2.0 compiler_3.5.1 pkgconfig_2.0.2
[17] bindr_0.1.1 tibble_1.4.2