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

> ### Name: tagSNP
> ### Title: tagSNP
> ### Aliases: tagSNP
> 
> ### ** Examples
> 
>   ### 1: INPUT DATA
>   data(testdata)
>   ### 2: COVARIANCE/CORRELATION MATRIX
>   corrmat <- CovMat(matLD, H.sire, 100, pos.chr, corr = TRUE)

 *** caught segfault ***
address 0x110, cause 'invalid permissions'

Traceback:
 1: lapply(X = S, FUN = FUN, ...)
 2: doTryCatch(return(expr), name, parentenv, handler)
 3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 4: tryCatchList(expr, classes, parentenv, handlers)
 5: 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))})
 6: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
 7: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
 8: FUN(X[[i]], ...)
 9: lapply(seq_len(cores), inner.do)
10: mclapply(e1, tcrossprod)
11: CovarMatrix(expectationMat, linkMat, linkSire, Ns)
12: CovMat(matLD, H.sire, 100, pos.chr, corr = TRUE)
An irrecoverable exception occurred. R is aborting now ...
Warning in mclapply(e1, tcrossprod) :
  scheduled core 1 did not deliver a result, all values of the job will be affected
0 SNPs have non-zero variance -> output matrix has reduced dimensions.
Error in `rownames<-`(`*tmp*`, value = 1:p) : 
  attempt to set 'rownames' on an object with no dimensions
Calls: CovMat -> rownames<-
Execution halted