99
1010name : R-CMD-check
1111
12-
13- permissions : read-all
14-
1512jobs :
1613 R-CMD-check :
1714 runs-on : ${{ matrix.config.os }}
@@ -35,57 +32,25 @@ jobs:
3532 steps :
3633 - uses : actions/checkout@v4
3734
38- - uses : quarto-dev/quarto-actions/setup@v2
39- env :
40- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41- with :
42- version : ${{ matrix.config.quarto || 'release' }}
43- tinytex : true
44-
4535 - uses : r-lib/actions/setup-pandoc@v2
4636
37+ - uses : r-lib/actions/setup-tinytex@v2
38+
4739 - uses : r-lib/actions/setup-r@v2
4840 with :
4941 r-version : ${{ matrix.config.r }}
5042 http-user-agent : ${{ matrix.config.http-user-agent }}
5143 use-public-rspm : true
5244
53- - uses : r-lib/actions/setup-tinytex@v2
54-
55- - name : Install libraries for Linux
56- if : runner.os == 'Linux'
57- run : |
58- sudo apt-get install texlive-base texlive-fonts-extra texlive-latex-recommended texlive-latex-extra texlive-science texlive-lang-all libcurl4-openssl-dev
59-
60- - name : Install libraries for macOS
61- if : runner.os == 'macOS'
62- run : |
63- brew install udunits xquartz
64-
65- - name : Install dependencies
66- run : |
67- install.packages("remotes")
68- remotes::install_deps(dependencies = TRUE)
69- remotes::install_cran("rcmdcheck")
70- install.packages('tinytex')
71- tinytex::parse_install(text = "! LaTeX Error: File `ucs.sty' not found.")
72- tinytex::parse_install(text = "! LaTeX Error: File `colortbl.sty' not found.")
73- tinytex::parse_install(text = "! LaTeX Error: File `fullpage.sty' not found.")
74- tinytex::parse_install(text = "! LaTeX Error: File `multirow.sty' not found.")
75- tinytex::parse_install(text = "! LaTeX Error: File `tocbibind.sty' not found.")
76- tinytex::parse_install(text = "! LaTeX Error: File `ae.sty' not found.")
77- tinytex::parse_install(text = "! LaTeX Error: File `grfext.sty' not found.")
78- shell : Rscript {0}
79-
8045 - uses : r-lib/actions/setup-r-dependencies@v2
8146 with :
8247 pak-version : devel
83- extra-packages : any::rcmdcheck
48+ extra-packages : any::rcmdcheck, any::XML
8449 needs : check
8550
8651 - uses : r-lib/actions/check-r-package@v2
8752 with :
8853 args : ' c("--no-manual", "--as-cran")'
8954 error-on : ' "error"'
9055 check-dir : ' "check"'
91-
56+
0 commit comments