Skip to content

Commit

Permalink
fixed tinytex 2x compile makeindex in dockerfile; fixed broken dep fo…
Browse files Browse the repository at this point in the history
…r canlang
  • Loading branch information
trevorcampbell committed Feb 3, 2022
1 parent b084d85 commit d47d791
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN Rscript -e "reticulate::install_miniconda()"
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'python-kaleido')"
RUN Rscript -e "reticulate::conda_install('r-reticulate', 'plotly', channel = 'plotly')"

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

# install LaTeX packages
Expand Down Expand Up @@ -100,3 +101,10 @@ RUN tlmgr install amsmath \
RUN sed -i 's/256MiB/4GiB/' /etc/ImageMagick-6/policy.xml
RUN sed -i 's/512MiB/4GiB/' /etc/ImageMagick-6/policy.xml
RUN sed -i 's/1GiB/4GiB/' /etc/ImageMagick-6/policy.xml


# install version of tinytex with fixed index double-compile (no release for this yet, so install from commit hash)
RUN Rscript -e "remove.packages('xfun')"
RUN Rscript -e "devtools::install_github('yihui/[email protected]')"
RUN Rscript -e "remove.packages('tinytex')"
RUN Rscript -e "devtools::install_github('yihui/tinytex@5d211d43944d322fca49e5f0d97f34b9c46ff9ab')"

0 comments on commit d47d791

Please sign in to comment.