Nonparametric methods for density estimation and comparison (proposed by Marco Inacio. 2017. Comparing two populations using Bayesian Fourier series density estimation. University of São Paulo and UFSCar. Masters Thesis).
The package is still in beta version, it requires more testing, and also names and functions are not stable yet.
Documentation available in: http://npcompare.marcoinacio.com