Earth Mover's Distance in R with > 4 Dimensions

I'm trying to calculate a weighted earth mover's distance between two sets of distributions with 5 dimensions for each cluster. I've used the emd function in the emdist package, but unfortunately this package limits the distributions to only have 4 dimensions at most. Are there any packages that can do this easily?