The R package clusrank provides functions for Wilcoxon rank sum test and Wilcoxon signed rank test for clustered data. See Jiang et. al (2020) for details.
You may install the released version from CRAN.
install.packages("clusrank")
The latest version of package is under development at GitHub. If it is able to pass the automated package checks, one may install it by
if (! require(remotes)) install.packages("remotes")
::install_github("wenjie2wang/clusrank", upgrade = "never") remotes