简体   繁体   中英

update.packages fails to update existing packages built for old version of R

After upgrading R from 3.6.2 to 4.0.1, I used update.packages(pkgs, checkBuilt=T, ask=F) command to update existing packages to the new version. While I expected the command to build/install existing packages for R 4.0.1, the command did not rebuild existing packages that were built/installed for R 3.6.2 and were available for R 4.0.1. However, I was able to use install.packages command to build/install existing packages for R 4.0.1; see here for my current solution. Have others encountered this issue?

I had the same issue. I'm not sure you can use checkBuilt = T to update some packages built for older major releases of R. I wiped my R library and installed everything I needed again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM