Installation notes from R Console:
library(devtools)
install_github("ecor/RGENERATEPREC")
## Or directly from CRAN (CRAN Version)
install.packages("RGENERATEPREC")
See package webpage: https://ecor.github.io/RGENERATEPREC/ or manual and vignette for more detailed info.