diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe5c3de..e5835a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,16 @@ jobs: r-version: ${{ matrix.r-version }} - uses: r-lib/actions/setup-pandoc@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 - uses: r-lib/actions/setup-tinytex@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 + # the TinyTeX bundle is too minimal for '--as-cran' to build the PDF + # manual, so pull in the extra LaTeX packages Rd2pdf needs. Without + # collection-fontsrecommended, the retry that R CMD check makes with + # R_RD4PDF=times cannot find the Courier metrics (pcrr8t.tfm). + - name: Install additional LaTeX Packages + run: | + tlmgr update --self + tlmgr update --all + tlmgr install titling framed inconsolata + tlmgr install collection-fontsrecommended - uses: r-lib/actions/setup-r-dependencies@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 with: extra-packages: any::rcmdcheck, any::covr