I do not require my students to learn R in their statistics courses, and I do not use R in my teaching. My students and I use the Stats Homework package, since this package was explicitly designed to be used in basic statistics classes.
As part of my professional development, I’ve learned enough R to replicate many of the basic statistical tests that I illustrate in my documentation pages for Stats Homework. I decided to keep the code for these as simple as possible and to use the base packages in R as much as possible. I wanted to share these in case the basic approaches that I used might help someone who, like me, is just getting started coding in R.