Skip to content

Commit

Permalink
adding r-car + package fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Balaji Srinivasa Rao committed May 10, 2023
1 parent 47b36bd commit 7a2159c
Show file tree
Hide file tree
Showing 3 changed files with 1,199 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ RUN R -e 'require(devtools); \
install_version("translate", version = "0.1.2", repos = "http://cran.us.r-project.org", quiet = TRUE)'

# Install R packages

RUN mamba install --yes -c conda-forge \
'r-stargazer' \
'r-quanteda' \
Expand All @@ -69,8 +68,11 @@ RUN mamba install --yes -c conda-forge \
'r-modelsummary' \
'r-nsyllable' \
'r-proxyc' \
# 'r-car' \
# 'vtable-dumper' \
'r-tidytext' && \
mamba clean --all -f -y
RUN mamba install --yes -c conda-forge r-car


RUN pip install --upgrade setuptools
Expand Down Expand Up @@ -124,7 +126,8 @@ RUN /opt/conda/envs/sage/bin/sage -c "install_scripts('/usr/local/bin')" && \
ln -s /usr/bin/sage /usr/bin/sagemath

RUN jupyter kernelspec install $(/opt/conda/envs/sage/bin/sage -sh -c 'ls -d /opt/conda/envs/sage/share/jupyter/kernels/sagemath'); exit 0

COPY widget_selection.py /opt/conda/lib/python3.10/site-packages/ipywidgets/widgets/
COPY interaction.py /opt/conda/lib/python3.10/site-packages/ipywidgets/widgets/
RUN chown -R jovyan:users /home/jovyan && \
chmod -R 0777 /home/jovyan && \
rm -rf /home/jovyan/*
Expand Down
Loading

0 comments on commit 7a2159c

Please sign in to comment.