I added the DARMA_64BIT_WORD flag in the Makevars file to allow the package processing big datasets
I modified the input_dist_mat function of the distance_metrics.cpp file due to a bug. I modified the distMat.KernelKnn function so that it does not return an error if the rows of the DIST_mat distance matrix is not equal to the length of y (added comments in the function documentation).
In this version the following functions/parameters were added:
I also modified the OpenMP clauses of the .cpp file to address the ASAN errors.
I removed OpenImageR and irlba as package dependencies. I also added an init.c file in the src folder due to a change in CRAN submissions for compiled code [ references : http://stackoverflow.com/questions/42313373/r-cmd-check-note-found-no-calls-to-r-registerroutines-r-usedynamicsymbols, https://github.com/RcppCore/Rcpp/issues/636 ]
I added a try-catch Rcpp function to make possible the calculation of singular covariance matrices as sugggested in https://github.com/mlampros/KernelKnn/issues/1
Reimplementation of the Rcpp function due to ASAN-memory-errors
I updated the Description file with a URL and a BugReports web-address.
Currently, Software platforms like OSX do not support openMP, thus I’ve made openMP optional for all cpp functions.