There are a growing number of packages that include header-only C++ libraries in the inst/ folder to allow methods to be linked and used on the C++ side of a package (for example: the progress package )
It would be nice to be able to do that with this package to access the distance functions. Something like (pseudo-code)
There are a growing number of packages that include header-only C++ libraries in the
inst/
folder to allow methods to be linked and used on the C++ side of a package (for example: the progress package )It would be nice to be able to do that with this package to access the distance functions. Something like (pseudo-code)
Alternatively, the ability to capture a given distance function in R and pass as a
SEXP
similar to the custom distance example might do the trick.