not available的问题,很急呀,帮忙解答一下吧

这个情况该怎么办呢

install.packages("ggplot2")
Installing package into ‘/Users/oujiro/Library/R/3.6/library’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository https://mirrors.tongji.edu.cn/CRAN/src/contrib:
cannot open URL 'https://mirrors.tongji.edu.cn/CRAN/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.tongji.edu.cn/CRAN/bin/macosx/el-capitan/contrib/3.6:
cannot open URL 'https://mirrors.tongji.edu.cn/CRAN/bin/macosx/el-capitan/contrib/3.6/PACKAGES'
Warning message:
package ‘ggplot2’ is not available (for R version 3.6.1)

https://www.jianshu.com/p/1674992b056b这个正合你意