在最后一行,这个Docker 文件调用littler::install.r
installRcpp
RcppEigen
和matrixStats
.
几个月前,整个代码就像一个魅力一样工作。现在,它在最后一步爆炸。更准确地说,Rcpp
仍然RcppEigen
可以完美安装,但是在安装时matrixStats
,我得到:
installing to /usr/local/lib/R/site-library/matrixStats/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object 'checkCompilerOptions' not found
Calls: ::: -> get
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/matrixStats’
The downloaded source packages are in
‘/tmp/downloaded_packages’
Warning message:
In install.packages(f, lib, if (isMatchingFile(f)) NULL else repos) :
installation of package ‘matrixStats’ had non-zero exit status
这是我以前从未遇到过的错误,甚至无法找到它的来源。什么可能导致这个问题?任何信息都会有很大帮助。