CI: dependency issues with Latex in Check as CRAN
Got this error message with docker image rocker/verse:
! Font TS1/cmr/m/n/10=tcrm1000 at 10.0pt not loadable: Metric (TFM) file not found.
I first solved this issue by :
sudo apt-get install -y --no-install-recommends texlive-fonts-recommended but it's not sustainable because this installation is very big and it's done at each job execution.
I found the same error in https://next.travis-ci.org/github/yihui/tinytex/builds/686702503 which has been solved by https://github.com/yihui/tinytex/commit/5684295f91955b803c1cb623d1823f53cb3917f2.
It seems that using the R package
rocker/tidyverse instead of the Latex installation of
rocker/verse can solve this problem.