This package is under active development and is not yet available on CRAN. To install directly from github use the command
remotes::install_github("CAM-Roche/RandomisedTrialsEmulation")
For more information see https://cam-roche.github.io/RandomisedTrialsEmulation/index.html