Skip to content

Commit

Permalink
update testthat package to version 3.2.3 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Jan 17, 2025
1 parent 9a4a1e1 commit 9e92c1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ RUN wget https://cloud.r-project.org/src/contrib/diffobj_0.3.5.tar.gz && \
RUN R -e "install.packages(c('waldo'), repos='http://cran.rstudio.com/')"

# testthat
RUN wget https://cran.r-project.org/src/contrib/testthat_3.2.2.tar.gz && \
tar -xzf testthat_3.2.2.tar.gz && \
RUN wget https://cran.r-project.org/src/contrib/testthat_3.2.3.tar.gz && \
tar -xzf testthat_3.2.3.tar.gz && \
cd testthat && \
R CMD INSTALL -l /usr/local/lib/R/site-library . --no-test-load --no-clean-on-error --verbose && \
cd src && \
Expand All @@ -110,7 +110,7 @@ RUN wget https://cran.r-project.org/src/contrib/testthat_3.2.2.tar.gz && \
g++ -shared -o testthat.so init.o reassign.o test-catch.o test-example.o test-runner.o -L/usr/lib/R/lib -lR && \
mv testthat.so /usr/local/lib/R/site-library/testthat/libs/ && \
cd /home/ubuntu && \
rm -rf testthat testthat_3.2.2.tar.gz
rm -rf testthat testthat_3.2.3.tar.gz

# Install ML packages for CS50 AI
RUN pip3 install --no-cache-dir \
Expand Down

0 comments on commit 9e92c1b

Please sign in to comment.