簡體   English   中英

在 CentOS 7.4 上 CRAN 安裝 devtools 2.0 失敗

[英]CRAN install of devtools 2.0 fails on CentOS 7.4

我正在嘗試從CRAN安裝最新的devtools 它在安裝時出現了一些定義不明確的段錯誤。 這是否表明某種 R 分布錯誤?

 *** caught segfault ***

address (nil), cause 'unknown'

Traceback:
 1: fun(libname, pkgname)
 2: doTryCatch(return(expr), name, parentenv, handler)
 3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 4: tryCatchList(expr, classes, parentenv, handlers)
 5: tryCatch(fun(libname, pkgname), error = identity)
 6: runHook(".onLoad", env, package.lib, package)
 7: loadNamespace(name)
 8: doTryCatch(return(expr), name, parentenv, handler)
 9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatch(loadNamespace(name), error = function(e) stop(e))
12: getNamespace(ns)
13: asNamespace(ns)
14: getExportedValue(pkg, name)
15: ps::ps_is_supported
16: fun(libname, pkgname)
17: doTryCatch(return(expr), name, parentenv, handler)
18: tryCatchOne(expr, names, parentenv, handlers[[1L]])
19: tryCatchList(expr, classes, parentenv, handlers)
20: tryCatch(fun(libname, pkgname), error = identity)
21: runHook(".onLoad", env, package.lib, package)
22: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
23: asNamespace(ns)
24: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc,     .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
25: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
26: asNamespace(ns)
27: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc,     .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
28: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
29: asNamespace(ns)
30: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc,     .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
31: loadNamespace(package, lib.loc, keep.source, partial = TRUE)
32: withCallingHandlers(expr, packageStartupMessage = function(c) invokeRestart("muffleMessage"))
33: suppressPackageStartupMessages(loadNamespace(package, lib.loc,     keep.source, partial = TRUE))
34: code2LazyLoadDB(package, lib.loc = lib.loc, keep.source = keep.source,     compress = compress)
35: makeLazyLoading(pkg_name, lib, keep.source = keep.source)
36: doTryCatch(return(expr), name, parentenv, handler)
37: tryCatchOne(expr, names, parentenv, handlers[[1L]])
38: tryCatchList(expr, classes, parentenv, handlers)
39: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call)[1L]        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type = "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile)        .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
40: try({    suppressPackageStartupMessages(.getRequiredPackages(quietly = TRUE))    makeLazyLoading(pkg_name, lib, keep.source = keep.source)})
41: do_install_source(pkg_name, instdir, pkg, desc)
42: do_install(pkg)
43: tools:::.install_packages()
An irrecoverable exception occurred. R is aborting now ...

一些額外的上下文:

我正在為 openBLAS 運行 R 3.5.1 的自定義編譯版本,並且正在設置自定義個人目錄來安裝軟件包。

這很可能是包庫中包損壞的結果,但您需要提供更多上下文才能確定。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM