As @msuchard suggested here, I think docker images can facilitate reproducibility of OHDSI research and help OHDSI researchers to install OHDSI R packages on their computers (Actually if they use docker image, they don’t need to install it by themselves).
How do you think @schuemie?
I built a toy example of docker image for CohortMethod version 3.0.2 based on rocker/verse:3.5.1 (based on R version 3.5.1)
You can see the docker file here (Though it’s not tidy, the code is very simple)
I checked that cohort method can be loaded in this image. But I need to test that this can run actual analysis.
Anyway, you can run the docker image by the code below
$docker run --name cohortmethod -e USER=user -e PASSWORD=password1 -d -p 8787:8787 chandryou/cohortmethod:3.0.2
After running the image, you can activate rstudio on your brower
ID:user Password:password1
http://localhost:8787
or
http://1.0.0.0:8787
please replace 1.0.0.0 with your ip address.
After using Rstudio, you can stop the docker image
$docker stop cohortmethod