Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install TinyTeX #583

Open
gaborcsardi opened this issue May 20, 2023 · 2 comments
Open

Install TinyTeX #583

gaborcsardi opened this issue May 20, 2023 · 2 comments
Labels
feature a feature request or enhancement

Comments

@gaborcsardi
Copy link
Collaborator

On demand. Maybe needs a config option? The TeXlive packages also need a config option.

These config options (and others as well) could default to some Config/GHA entries in DESCRIPTION.

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label May 20, 2023
@ms609
Copy link

ms609 commented Feb 16, 2024

This was a roadblock for one of my packages that used pdflatex to compile vignettes.
After much heartache I found an existing action that did all the heavy lifting for win, mac and linux.
Adding the below to rhub.yaml did the trick:

- name: Setup TeX Live
  uses: teatimeguest/setup-texlive-action@v3
  with:
    packages: scheme-basic

It looks like it should be simple to adapt this to allow a user to set their own value of packages.

This step does take 15 mins on first run so should probably be run "on demand" as you suggest (though caching is performed on successful run) .

@gaborcsardi
Copy link
Collaborator Author

gaborcsardi commented Feb 16, 2024

We are already installing tinytex on some containers. IDK if all containers should have it, you don't need to build the vignettes to run an asan or valgrind check. AFAIR many containers skip building the vignettes and the pdf manual already.

@gaborcsardi gaborcsardi transferred this issue from r-hub/rhub2 Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants