EvoWeaver isn't handling dendrogram objects with a single leaf correctly due to weirdness in how rapply works. rapply expects a list or object, but a single dendrogram leaf is just an integer with additional attributes, so it can't be called with rapply. This causes predict.EvoWeaver to fail.