This action's arguments are defined using the optparse package. This code is at the top of cox-ipw.R.
README.md is rendered from README.Rmd using the rmarkdown package in R. This can be done within R using
rmarkdown::render("README.Rmd")
or from a shell using the following code.
R -e "rmarkdown::render('README.Rmd')"
This is an R resuable action, run within the R container created from the https://github.com/opensafely-core/r-docker repository. The key points about the R container are as follows.
- Currently the container provides R 4.0.2.
- The container provides the packages, with their respective version numbers, listed in packages.csv which is a copy of packages.csv in the R image repository.
For more information about reusable actions see here.