R Установка пакета 'R cpp' имела ненулевой выход - PullRequest
0 голосов
/ 10 апреля 2020

Я пытаюсь запустить пакет под названием Harmony on R в ноутбуках Jupyter, используя следующие строки кода:

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)

Мне интересно, почему установка пакета R cpp имеет ненулевой статус завершения и как я могу решить эту проблему для установки моего исходного пакета.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...