报错内容如下:
The downloaded source packages are in
‘/tmp/RtmplHp2Ea/downloaded_packages’
Warning messages:
1: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘httr’ had non-zero exit status
4: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘xml2’ had non-zero exit status
5: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘rvest’ had non-zero exit status
6: In install.packages("tidyverse", repos = "https://mirror.lzu.edu.cn/CRAN") :
installation of package ‘tidyverse’ had non-zero exit status
sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1