1: In install.packages("devtools") : installation of package ‘systemfonts’ had non-zero exit status 2: In install.packages("devtools") : installation of package ‘xml2’ had non-zero exit status 3: In install.packages("devtools") : installation of package ‘textshaping’ had non-zero exit status 4: In install.packages("devtools") : installation of package ‘roxygen2’ had non-zero exit status 5: In install.packages("devtools") : installation of package ‘rversions’ had non-zero exit status 6: In install.packages("devtools") : installation of package ‘urlchecker’ had non-zero exit status 7: In install.packages("devtools") : installation of package ‘ragg’ had non-zero exit status 8: In install.packages("devtools") : installation of package ‘pkgdown’ had non-zero exit status 9: In install.packages("devtools") : installation of package ‘devtools’ had non-zero exit status
时间: 2024-02-03 08:01:47 浏览: 226
这些错误提示表明在安装 devtools 包时,依赖的其他包出现了安装问题。建议你逐一尝试安装这些包,以便确定是哪个包引起了问题。你可以尝试使用以下命令安装缺失的包:
```R
install.packages("systemfonts")
install.packages("xml2")
install.packages("textshaping")
install.packages("roxygen2")
install.packages("rversions")
install.packages("urlchecker")
install.packages("ragg")
install.packages("pkgdown")
```
如果你遇到了问题,请检查你的网络连接和 R 包管理器是否正常工作。
阅读全文