Skip to content

Commit ed7637e

Browse files
Merge pull request #33 from covidclinical/topic-install-mice-R-package
Added R packages "mice", "SurrogateTest", and "survAUC".
2 parents c391145 + 2ecf514 commit ed7637e

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ RUN Rscript -e "install.packages('icd', repos='https://cran.microsoft.com/snapsh
255255
RUN Rscript --vanilla -e "install.packages('lme4', repos='https://cran.microsoft.com/snapshot/2021-01-29')"
256256
RUN Rscript --vanilla -e "install.packages('survminer', repos='https://cran.microsoft.com/snapshot/2021-01-29')"
257257
RUN Rscript --vanilla -e "install.packages('CVXR', repos='https://cran.microsoft.com/snapshot/2021-05-20')"
258+
RUN Rscript --vanilla -e "install.packages('mice', repos='https://cran.microsoft.com/snapshot/2021-06-14')"
259+
RUN Rscript --vanilla -e "install.packages('SurrogateTest', repos='https://cran.microsoft.com/snapshot/2021-06-14')"
260+
RUN Rscript --vanilla -e "install.packages('survAUC', repos='https://cran.microsoft.com/snapshot/2021-06-14')"
258261

259262
# install R packages for connecting to SQL Server and working with resulting data sets
260263
RUN Rscript -e "devtools::install_github('https://github.com/nathan-palmer/FactToCube.git')"

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ docker run --rm --name 4ce -d -v /SOME_LOCAL_PATH:/4ceData \
3737
-p 2200:22 \
3838
-e CONTAINER_USER_USERNAME=REPLACE_ME_USERNAME \
3939
-e CONTAINER_USER_PASSWORD=REPLACE_ME_PASSWORD \
40-
dbmi/4ce-analysis:version-2.2.0
40+
dbmi/4ce-analysis:version-2.3.0
4141
```
4242

4343
*Previous versions of this documentation suggested running the ``latest`` tag of the image. For reproducibility, we are now asking
@@ -65,8 +65,8 @@ The ``-p`` flag to Docker maps a TCP port in the container to a TCP port on the
6565

6666
### Image Name and Tag (Version)
6767

68-
The final line of the Docker command above: ``dbmi/4ce-analysis:version-2.2.0`` specifies the image name and tag that will be run.
69-
The image name is ``dbmi/4ce-analysis`` and the tag is the string following the colon, e.g. ``version-2.2.0``.
68+
The final line of the Docker command above: ``dbmi/4ce-analysis:version-2.3.0`` specifies the image name and tag that will be run.
69+
The image name is ``dbmi/4ce-analysis`` and the tag is the string following the colon, e.g. ``version-2.3.0``.
7070
We will use tags to track the version of the container that each site is running locally.
7171
We will attempt to keep this documentation up-to-date with instructions for running the latest release version, but you can
7272
always refer to the container's registry page https://hub.docker.com/repository/docker/dbmi/4ce-analysis/tags?page=1 for
@@ -169,7 +169,7 @@ connect to the container.
169169
A final option is to run the container in a way that directly presents the user with an interactive R session. The container will stop after you quit this R session. Note, this command runs the container so you can't already have one running when issuing it. The --rm flag will ensure that when the R session is quit, the container is stopped and cleaned up.
170170

171171
```bash
172-
docker run --name 4ce -v /SOME_LOCAL_PATH:/4ceData --rm -it dbmi/4ce-analysis:version-2.2.0 R
172+
docker run --name 4ce -v /SOME_LOCAL_PATH:/4ceData --rm -it dbmi/4ce-analysis:version-2.3.0 R
173173
```
174174

175175

@@ -183,7 +183,7 @@ In more detail, the steps are are follows:
183183

184184
### 1. On the *bastion* host: Pull the container image from the registry
185185
```bash
186-
docker image rm dbmi/4ce-analysis:version-2.2.0
186+
docker image rm dbmi/4ce-analysis:version-2.3.0
187187
docker pull dbmi/4ce-analysis
188188
```
189189

R_VERSIONS

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ memoise 2.0.0
131131
metafor 2.4-0
132132
methods 4.0.2
133133
mgcv 1.8-33
134+
mice 3.13.0
134135
MicrosoftR 4.0.2
135136
mime 0.9
136137
minqa 1.2.4
@@ -223,6 +224,8 @@ stats 4.0.2
223224
stats4 4.0.2
224225
stringi 1.5.3
225226
stringr 1.4.0
227+
SurrogateTest 1.2
228+
survAUC 1.0-5
226229
survival 3.2-7
227230
survminer 0.4.8
228231
survMisc 0.5.5

0 commit comments

Comments
 (0)