Skip to content

Commit d47d791

Browse files
fixed tinytex 2x compile makeindex in dockerfile; fixed broken dep for canlang
1 parent b084d85 commit d47d791

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN Rscript -e "reticulate::install_miniconda()"
3939
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'python-kaleido')"
4040
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'plotly', channel = 'plotly')"
4141

42+
RUN Rscript -e "devtools::install_github('mountainMath/cancensus@5a5d61759d477986d40dd87fa9a6532ff6037efe')"
4243
RUN Rscript -e "devtools::install_github('ttimbers/[email protected]')"
4344

4445
# install LaTeX packages
@@ -100,3 +101,10 @@ RUN tlmgr install amsmath \
100101
RUN sed -i 's/256MiB/4GiB/' /etc/ImageMagick-6/policy.xml
101102
RUN sed -i 's/512MiB/4GiB/' /etc/ImageMagick-6/policy.xml
102103
RUN sed -i 's/1GiB/4GiB/' /etc/ImageMagick-6/policy.xml
104+
105+
106+
# install version of tinytex with fixed index double-compile (no release for this yet, so install from commit hash)
107+
RUN Rscript -e "remove.packages('xfun')"
108+
RUN Rscript -e "devtools::install_github('yihui/[email protected]')"
109+
RUN Rscript -e "remove.packages('tinytex')"
110+
RUN Rscript -e "devtools::install_github('yihui/tinytex@5d211d43944d322fca49e5f0d97f34b9c46ff9ab')"

0 commit comments

Comments
 (0)