RStudio/RMD files to create a student version assignment from the instruction version assignment solution
How about learnr?

Here is the link to the package information:
https://cran.rstudio.com/web/packages/learnr/index.html