############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data snpStats ### ############################################################################## ############################################################################## * checking for file ‘snpStats/DESCRIPTION’ ... OK * preparing ‘snpStats’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to process help pages * saving partial Rd database * creating vignettes ...sh: line 1: 51269 Segmentation fault: 11 '/Library/Frameworks/R.framework/Resources/bin/Rscript' --vanilla --default-packages= -e "tools::buildVignettes(dir = '.', tangle = TRUE)" > '/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T//Rtmpmyrg3R/xshellc5446b6538d9' 2>&1 ERROR --- re-building ‘Fst-vignette.Rnw’ using Sweave Loading required package: snpStats Loading required package: survival Loading required package: Matrix --- finished re-building ‘Fst-vignette.Rnw’ --- re-building ‘data-input-vignette.Rnw’ using Sweave --- finished re-building ‘data-input-vignette.Rnw’ --- re-building ‘differences.Rnw’ using Sweave --- finished re-building ‘differences.Rnw’ --- re-building ‘imputation-vignette.Rnw’ using Sweave --- finished re-building ‘imputation-vignette.Rnw’ --- re-building ‘ld-vignette.Rnw’ using Sweave *** caught segfault *** address 0x1, cause 'invalid permissions' Traceback: 1: ld(ceph.1mb[, 1], ceph.1mb[, 5], stats = "OR") 2: eval(expr, .GlobalEnv) 3: eval(expr, .GlobalEnv) 4: withVisible(eval(expr, .GlobalEnv)) 5: doTryCatch(return(expr), name, parentenv, handler) 6: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7: tryCatchList(expr, classes, parentenv, handlers) 8: 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, nlines = 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))}) 9: try(withVisible(eval(expr, .GlobalEnv)), silent = TRUE) 10: evalFunc(ce, options) 11: tryCatchList(expr, classes, parentenv, handlers) 12: tryCatch(evalFunc(ce, options), finally = { cat("\n") sink()}) 13: driver$runcode(drobj, chunk, chunkopts) 14: utils::Sweave(...) 15: engine$weave(file, quiet = quiet, encoding = enc) 16: doTryCatch(return(expr), name, parentenv, handler) 17: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18: tryCatchList(expr, classes, parentenv, handlers) 19: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) } outputs <- c(outputs, output)}, error = function(e) { thisOK <<- FALSE fails <<- c(fails, file) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))}) 20: tools::buildVignettes(dir = ".", tangle = TRUE) An irrecoverable exception occurred. R is aborting now ...