cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
更换镜像,使用国内镜像即可。
tools-global options-packages-change
选择一个距离最近的镜像,重新安装相关包即可。