had non-zero exit status

解决方案1:
install.packages(‘*package_name’, dependencies = TRUE)