You can install the released version of gfoRmula from CRAN with:
After installing the devtools package (i.e., calling install.packages(devtools)), the development version of gfoRmula can be installed from GitHub with:
Please refer to Lin et al. (2019) for a detailed guide to the gfoRmula package.