Running examples in ‘bigsnpr-Ex.R’ failed
The error most likely occurred in:

> ### Name: snp_fastImputeSimple
> ### Title: Fast imputation
> ### Aliases: snp_fastImputeSimple
> 
> ### ** Examples
> 
> bigsnp <- snp_attachExtdata("example-missing.bed")
> G <- bigsnp$genotypes
> G[, 2]  # some missing values
  [1] NA NA  0  0  0  0  0  0  0  0  0  0  0  0  0  1  0  0  0  0  0  1  0  1  0
 [26]  0  0  0  0  1  0  1  0  0  0  0  1  0  1  0  0  0  0  0  0  0  0  0  1  0
 [51]  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
 [76]  0  0  0  0  0  0  1  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 NA
[101]  0  1  0  0  0  0  0  0  1  0  0  0  0  0  0  0  0  0  0 NA  0  0  0  0  0
[126]  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  0  0  0  0  0 NA  0
[151]  1  0  0  0  0  0  0  0  0  0  0 NA  0  0  0  0  0  0  0  0  0  0  1  0  0
[176]  0  0  0  0  0  0 NA  0  0  0  0  0  0  0  0  0  0  0  0  1  0  0  1  0  0
> G2 <- snp_fastImputeSimple(G)

 *** caught segfault ***
address f7e82000, cause 'invalid permissions'

Traceback:
 1: impute(X, rows_along(X), ind, method)
 2: FUN(ind = ind.part, ...)
 3: eval(xpr, envir = envir)
 4: eval(xpr, envir = envir)
 5: doTryCatch(return(expr), name, parentenv, handler)
 6: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 7: tryCatchList(expr, classes, parentenv, handlers)
 8: tryCatch(eval(xpr, envir = envir), error = function(e) e)
 9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
11: tryCatchList(expr, classes, parentenv, handlers)
12: tryCatch({    repeat {        args <- nextElem(it)        if (obj$verbose) {            cat(sprintf("evaluation # %d:\n", i))            print(args)        }        for (a in names(args)) assign(a, args[[a]], pos = envir,             inherits = FALSE)        r <- tryCatch(eval(xpr, envir = envir), error = function(e) e)        if (obj$verbose) {            cat("result of evaluating expression:\n")            print(r)        }        tryCatch(accumulator(list(r), i), error = function(e) {            cat("error calling combine function:\n")            print(e)            NULL        })        i <- i + 1    }}, error = function(e) {    if (!identical(conditionMessage(e), "StopIteration"))         stop(simpleError(conditionMessage(e), expr))})
13: e$fun(obj, substitute(ex), parent.frame(), e$data)
14: foreach(ic = rows_along(intervals)) %dopar% {    ind.part <- ind[seq(intervals[ic, "lower"], intervals[ic,         "upper"])]    FUN(ind = ind.part, ...)}
15: bigparallelr::split_parapply(p.FUN, ind, X, ..., .combine = p.combine,     ncores = ncores, opts_cluster = list(type = getOption("bigstatsr.cluster.type")))
16: big_parallelize(Gna, p.FUN = part_impute, ncores = ncores, method = method)
17: snp_fastImputeSimple(G)
An irrecoverable exception occurred. R is aborting now ...