I added back the argument onRankOnly in getDominant and addDominant functions so that the user can explicitly choose, the issue was that the default value of onRankOnly in agglomerateByRank is TRUE so addDominant needed to be explicitly called with onRankOnly = FALSE as it was done for getDominant.
This PR aims to fix the following failing test:
I added back the argument
onRankOnly
ingetDominant
andaddDominant
functions so that the user can explicitly choose, the issue was that the default value ofonRankOnly
inagglomerateByRank
isTRUE
soaddDominant
needed to be explicitly called withonRankOnly = FALSE
as it was done forgetDominant
.