Currently, in my experience, the input 'x' has to be a dense matrix. It would be great if you can provide support for sparse matrices, specially ones from the 'Matrix' package. Here's what I currently get from R 3.5.0, and parallelDist 0.2.1.
require(parallelDist)
require(Matrix)
x = sample(0:1, 10000, replace = T)
m = Matrix(x, ncol = 100, sparse = T)
d = parallelDist(m, method = "binary")
Error in parallelDist(m, method = "binary") :
x must be a matrix or a list of matrices.
Currently, in my experience, the input 'x' has to be a dense matrix. It would be great if you can provide support for sparse matrices, specially ones from the 'Matrix' package. Here's what I currently get from R 3.5.0, and parallelDist 0.2.1.