我尝试从 R studio 在我的系统上安装 swirl,但出现以下错误:
ERROR: configuration failed for package ‘openssl’
* removing ‘/home/dipti/R/x86_64-pc-linux-gnu-library/3.4/openssl’
Warning in install.packages :
installation of package ‘openssl’ had non-zero exit status
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/home/dipti/R/x86_64-pc-linux-gnu-library/3.4/httr’
Warning in install.packages :
installation of package ‘httr’ had non-zero exit status
ERROR: dependency ‘httr’ is not available for package ‘swirl’
* removing ‘/home/dipti/R/x86_64-pc-linux-gnu-library/3.4/swirl’
Warning in install.packages :
installation of package ‘swirl’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpbp61si/downloaded_packages’
library(swirl) library(swirl) 中的错误:没有名为“swirl”的包</p>
然后我在互联网上搜索可能的解决方案,所以我尝试按照此链接中的步骤操作:
https://github.com/swirldev/swirl/wiki/Installing-swirl-on-Linux
安装 libcurl 时出现了一些问题,但我上次这样做时似乎还不错。
我重新尝试从 R 工作室安装 swirl,但错误仍然相同。
我还尝试安装依赖项,例如stringi, openssl and httr
. 只有stringi
安装成功,其余的都有同样的错误。