rocker-org / rocker-versioned2

Run current & prior versions of R using docker. rocker/r-ver, rocker/rstudio, rocker/shiny, rocker/tidyverse, and so on.
https://rocker-project.org
GNU General Public License v2.0
390 stars 163 forks source link

cannot produce pdf from Rmd file #772

Closed gpasa closed 3 months ago

gpasa commented 3 months ago

Container image name

rocker/verse:latest

Container image digest

sha256:fd553ed661adf4c274d8dc351f3c44c99ff900d39328f0a2092b2a34be98238e

What operating system are you seeing the problem on?

macOS

System information

No response

Bug description

While producing a pdf from an Rmd using knitr I get the following error

tlmgr: Local TeX Live (2023) is older than remote repository (2024).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
! LaTeX Error: File `booktabs.sty' not found.

! Emergency stop.
<read *> 

Error: LaTeX failed to compile learning.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See learning.log for more info.
In addition: Warning message:
In system2("tlmgr", args, ...) :
  running command ''tlmgr' search --file --global '/booktabs.sty'' had status 1
Execution halted

How to reproduce this bug?

inside Rstudio try to generate a pdf with tables (I guess)

eitsupi commented 3 months ago

Please pull the latest image.