Skip to content

Commit

Permalink
Install tinytex's yihui pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
asardaes committed Apr 18, 2021
1 parent 17b50db commit 5f878e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
tinytex:::install_yihui_pkgs()
shell: Rscript {0}

- name: Check
Expand All @@ -89,16 +90,10 @@ jobs:
Rscript -e 'remotes::install_cran("covr")'
Rscript codecov.R
- name: Parse missing tex dependencies
run: tinytex::parse_packages("vignettes/dtwclust.log")
shell: Rscript {0}
continue-on-error: true

- name: Upload check results
if: failure()
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: |
check
*.log
2 changes: 1 addition & 1 deletion codecov.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ covr_flags <- getOption("covr.flags")
options(covr.exclude_pattern = rex::rex("#" %or% "//", any_spaces, "nocov"),
covr.exclude_start = rex::rex("#" %or% "//", any_spaces, "nocov", any_spaces, "start"),
covr.exclude_end = rex::rex("#" %or% "//", any_spaces, "nocov", any_spaces, "end"),
covr.gcov = "gcov-7", # see https://github.com/r-lib/covr/issues/176
# covr.gcov = "gcov-7", # see https://github.com/r-lib/covr/issues/176
covr.flags = sapply(covr_flags, function(dummy) { "--coverage" }))
covr::codecov(type = "tests", quiet = FALSE)

Expand Down

0 comments on commit 5f878e3

Please sign in to comment.