rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.47k stars 518 forks source link

use gha instead of travis #349

Closed cderv closed 3 years ago

cderv commented 3 years ago

Customizing actions from r-lib/actions one.

Unfortunately, not sure we can cache CTAN packages. One way to deal with that would be to use a set of docker images with with pre-installed component.

We'll how long it takes with this config

cderv commented 3 years ago

@yihui just a question about ctex and Chinese fonts.

Currently it errors on Windows and Mac because fonts are not found:

Do you know if these fonts can be added easily on those OS by command line ? If not, don't bother looking - I'll just skip this test of ctex format on Windows and Mac to just run it on Linux.

Thank you.

cderv commented 3 years ago

I am merging this, but if you have the trick for the fonts, feel free to tell me and I'll add it.

Thanks

yihui commented 3 years ago

I know how to make it work on macOS and Windows (we could use https://ctan.org/pkg/fandol), but I think it's okay for the ctex test to be run only on Linux. Thanks!

cderv commented 3 years ago

I leave it that way then