Skip to content

Commit

Permalink
Suppress startup message on tidyverse, reports conflicts as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Feb 29, 2024
1 parent caabcd1 commit 46e701b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion images/datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ ARG JUPYTERHUB_VERSION=3.0.0 PANDAS_VERSION=2.0.3 STATSMODELS_VERSION=0.14.0 NBC
# Add essential pip/mamba packages
# mistune added for nbgrader issues
RUN pip install nbgrader nbgitpuller nbresuse pillow typing-extensions tzlocal appdirs gputil mock pytest jupyter_server_terminals \
nltk jupyterhub==$JUPYTERHUB_VERSION statsmodels==$STATSMODELS_VERSION nbconvert==$NBCONVERT_VERSION pandas==$PANDAS_VERSION 'mistune>=2' --upgrade
nltk jupyterhub==$JUPYTERHUB_VERSION statsmodels==$STATSMODELS_VERSION nbconvert==$NBCONVERT_VERSION pandas==$PANDAS_VERSION 'mistune>=2' --upgrade && \
pip cache purge

# jupyterlab_rise must be below 0.40.0 while jupyterlab is not > v4.0.0
RUN mamba install -c conda-forge "jupyterlab_rise<0.40.0" -y && \
Expand Down
2 changes: 1 addition & 1 deletion images/datascience-notebook/test/test_r_func.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(testthat)

### IMPORTS HERE
library(randomForest)
library(tidyverse)
suppressPackageStartupMessages(library(tidyverse))
library(markdown)
library(lubridate)
library(DT)
Expand Down

0 comments on commit 46e701b

Please sign in to comment.