I helped my advisor, Dr. Catherine M. Crespi, develop an R package for power and sample size calculations. We made sure that this package was as user-friendly as possible by including a robust parameter checking suite, detailed documentation (including error messages), and the ability to solve for different parameters as needed (e.g. a single function can solve for power or sample size). This R package accompanies the textbook she wrote, Power and Sample Size in R.