From d7ccc839baf4b353bf5f344cfb050b97255e262b Mon Sep 17 00:00:00 2001 From: Jason Vander Heiden Date: Thu, 16 Sep 2021 10:12:34 -0700 Subject: [PATCH] Reduced run time of R-CMD-check in Travis (#541) * Clean up R check test * Use binary package installed * Disable default latex install and use tinytex instead. --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78b5f7a6b..5ec9f78e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,7 @@ matrix: r: - release sudo: false + latex: false cache: packages addons: apt: @@ -44,13 +45,14 @@ matrix: - devtools - roxygen2 - testthat + - knitr + - rmarkdown + - readr + - stringi + - yaml + - jsonlite before_install: + - wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh - cd lang/R - - R -e 'install.packages(c("devtools", "roxygen2", "testthat"))' - install: - - R -e 'devtools::install_deps(dep=T)' before_script: - R -e 'devtools::document()' - script: - - R CMD build . - - R CMD check *tar.gz --as-cran --run-donttest \ No newline at end of file