问题描述
在熟悉R的过程中,又发现了一个7年前的话题,建议使用readODS包。但是,当我尝试在 Fedora Linux 32 上使用 R-Studio 1.3.1093 和 R 4.0.3 安装 readODS 时,安装失败并显示错误列表。我省略了安装开始的输出。仅供参考:gnumeric 已安装。
<start of output omitted....>
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i,c(lib.loc,.libPaths()),versionCheck = vI[[i]]) :
namespace ‘rlang’ 0.4.9 is being loaded,but >= 0.4.10 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading Failed for package ‘lifecycle’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/lifecycle’
Warning in install.packages :
installation of package ‘lifecycle’ had non-zero exit status
ERROR: dependency ‘ellipsis’ is not available for package ‘vctrs’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
ERROR: dependencies ‘ellipsis’,‘fansi’,‘lifecycle’,‘utf8’,‘vctrs’ are not available for package ‘pillar’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/pillar’
Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies ‘ellipsis’,‘vctrs’ are not available for package ‘hms’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/hms’
Warning in install.packages :
installation of package ‘hms’ had non-zero exit status
ERROR: dependencies ‘ellipsis’,‘pillar’,‘vctrs’ are not available for package ‘tibble’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/tibble’
Warning in install.packages :
installation of package ‘tibble’ had non-zero exit status
ERROR: dependency ‘tibble’ is not available for package ‘cellranger’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/cellranger’
Warning in install.packages :
installation of package ‘cellranger’ had non-zero exit status
ERROR: dependencies ‘hms’,‘tibble’,‘lifecycle’ are not available for package ‘readr’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/readr’
Warning in install.packages :
installation of package ‘readr’ had non-zero exit status
ERROR: dependencies ‘xml2’,‘cellranger’,‘readr’ are not available for package ‘readODS’
* removing ‘/home/huub/R/x86_64-redhat-linux-gnu-library/4.0/readODS’
Warning in install.packages :
installation of package ‘readODS’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpaKyR2b/downloaded_packages’
所以我想说,这个 readODS 包需要修复一些东西。这太糟糕了,因为我每天都使用 LibreOffice (.ods)。
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 32 (Thirty Two)
Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblas-r0.3.12.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.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_4.0.3 tools_4.0.3
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)