Great Resource for Research Seminar Students on Statistical Power Simulations Using R

In the past, I have used power calculators like GPower for straightforward research designs, but I have never really found a good, practical resource on executing the mechanics of power simulations, especially when research designs and analytical frameworks are more complex. This great article provides a framework (with R code) to execute power simulations and may be useful to students in Research Seminar (AEM 6991). . There is also a GitHub posting at