Skip to content

Commit 152f074

Browse files
Merge pull request #36 from covidclinical/topic-install-stm
Topic install stm
2 parents ed7637e + 9bec967 commit 152f074

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ RUN cp /usr/include/oracle/${ORACLE_RELEASE}.${ORACLE_UPDATE}/client64/* $ORACLE
273273
# install ROracle
274274
RUN Rscript -e "install.packages('ROracle')"
275275

276+
# we're going to move to using the remotes package to makage package installation going forward
277+
RUN Rscript --vanilla -e "remotes::install_cran('stm', repos='https://cran.microsoft.com/snapshot/2021-11-18')"
278+
276279
# allow modification of these locations so users can install R packages without warnings
277280
RUN chmod -R 777 /opt/microsoft/ropen/$MRO_VERSION/lib64/R/library
278281
RUN chmod -R 777 /opt/microsoft/ropen/$MRO_VERSION/lib64/R/doc/html/packages.html
@@ -285,8 +288,8 @@ RUN chmod -R 777 /opt/microsoft/ropen/$MRO_VERSION/lib64/R/doc/html/packages.htm
285288
RUN mkdir /opt/rstudioserver
286289
WORKDIR /opt/rstudioserver
287290

288-
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
289-
RUN dpkg -i ./libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
291+
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
292+
RUN dpkg -i ./libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb
290293

291294
RUN apt-get update && apt-get install -y gdebi-core
292295

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.3.0
40+
dbmi/4ce-analysis:version-2.4.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.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``.
68+
The final line of the Docker command above: ``dbmi/4ce-analysis:version-2.4.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.4.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.3.0 R
172+
docker run --name 4ce -v /SOME_LOCAL_PATH:/4ceData --rm -it dbmi/4ce-analysis:version-2.4.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.3.0
186+
docker image rm dbmi/4ce-analysis:version-2.4.0
187187
docker pull dbmi/4ce-analysis
188188
```
189189

R_VERSIONS

+9
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ FactToCube 0.0.0.9000
6262
fansi 0.4.2
6363
farver 2.0.3
6464
fastmap 1.1.0
65+
fastmatch 1.1-3
6566
fmsb 0.7.0
6667
forcats 0.5.1
6768
foreach 1.5.1
@@ -103,6 +104,7 @@ icd.data 1.0
103104
ini 0.3.1
104105
ipred 0.9-9
105106
isoband 0.2.3
107+
ISOcodes 2021.02.24
106108
iterators 1.0.11
107109
jquerylib 0.1.3
108110
jsonlite 1.7.2
@@ -116,6 +118,7 @@ later 1.1.0.1
116118
lattice 0.20-41
117119
lava 1.6.8.1
118120
lazyeval 0.2.2
121+
lda 1.4.2
119122
lifecycle 0.2.0
120123
lme4 1.1-26
121124
lubridate 1.7.9.2
@@ -168,6 +171,7 @@ promises 1.1.1
168171
ps 1.5.0
169172
purrr 0.3.4
170173
quadprog 1.5-8
174+
quanteda 3.1.0
171175
quantreg 5.83
172176
R.methodsS3 1.8.1
173177
R.oo 1.24.0
@@ -178,6 +182,7 @@ RColorBrewer 1.1-2
178182
Rcpp 1.0.6
179183
RcppArmadillo 0.10.1.2.2
180184
RcppEigen 0.3.3.7.0
185+
RcppParallel 5.1.4
181186
readr 1.4.0
182187
readxl 1.3.1
183188
recipes 0.1.15
@@ -213,6 +218,8 @@ selectr 0.4-2
213218
sessioninfo 1.1.1
214219
shape 1.4.5
215220
shiny 1.6.0
221+
slam 0.1-49
222+
SnowballC 0.7.0
216223
sourcetools 0.1.7
217224
sp 1.4-5
218225
SparseM 1.78
@@ -222,6 +229,8 @@ SQUAREM 2021.1
222229
statmod 1.4.35
223230
stats 4.0.2
224231
stats4 4.0.2
232+
stm 1.3.6
233+
stopwords 2.3
225234
stringi 1.5.3
226235
stringr 1.4.0
227236
SurrogateTest 1.2

UBUNTU_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Distributor ID: Ubuntu
2-
Description: Ubuntu 20.04.2 LTS
2+
Description: Ubuntu 20.04.3 LTS
33
Release: 20.04
44
Codename: focal

0 commit comments

Comments
 (0)