R软件包“ Rcpp”的安装具有非零退出状态

时间:2020-04-10 04:39:39

标签: r

我正在尝试使用以下代码行在Jupyter Notebooks中的R上运行一个名为Harmony的软件包:

library(devtools)
install_github("immunogenomics/harmony")

但是,我看到一条错误消息:

Installing 45 packages: Rcpp, dplyr, tidyr, ggplot2, Matrix, tibble, rlang, SingleCellExperiment, RcppArmadillo, RcppProgress, cli, fansi, lifecycle, pillar, vctrs, glue, digest, isoband, scales, testthat, farver, R6, lattice, rstudioapi, callr, prettyunits, backports, processx, ps, tidyselect, BH, GenomicRanges, Biobase, DelayedArray, BiocGenerics, S4Vectors, IRanges, GenomeInfoDb, matrixStats, BiocParallel, RCurl, XVector, zlibbioc, stringi, SummarizedExperiment
Error: Failed to install 'harmony' from GitHub:
  (converted from warning) installation of package 'Rcpp' had non-zero exit status
Traceback:

1. install_github("immunogenomics/harmony")
2. pkgbuild::with_build_tools({
 .     ellipsis::check_dots_used(action = getOption("devtools.ellipsis_action", 
 .         rlang::warn))
 .     {
 .         remotes <- lapply(repo, github_remote, ref = ref, subdir = subdir, 
 .             auth_token = auth_token, host = host)
 .         install_remotes(remotes, auth_token = auth_token, host = host, 
 .             dependencies = dependencies, upgrade = upgrade, force = force, 
 .             quiet = quiet, build = build, build_opts = build_opts, 
 .             build_manual = build_manual, build_vignettes = build_vignettes, 
 .             repos = repos, type = type, ...)
 .     }
 . }, required = FALSE)
3. install_remotes(remotes, auth_token = auth_token, host = host, 
 .     dependencies = dependencies, upgrade = upgrade, force = force, 
 .     quiet = quiet, build = build, build_opts = build_opts, build_manual = build_manual, 
 .     build_vignettes = build_vignettes, repos = repos, type = type, 
 .     ...)
4. tryCatch(res[[i]] <- install_remote(remotes[[i]], ...), error = function(e) {
 .     stop(remote_install_error(remotes[[i]], e))
 . })
5. tryCatchList(expr, classes, parentenv, handlers)
6. tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)

我想知道为什么Rcpp软件包的安装具有非零退出状态,以及如何解决此问题以安装原始软件包。

0 个答案:

没有答案