Skip to content

Commit

Permalink
[ci] fix LaTeX tools installation in R jobs (fixes #5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Mar 25, 2023
1 parent 5f261c4 commit f1ac311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fi

# Installing R precompiled for Mac OS 10.11 or higher
if [[ $OS_NAME == "macos" ]]; then
brew update-reset && brew update
if [[ $R_BUILD_TYPE == "cran" ]]; then
brew install automake || exit -1
fi
Expand Down
2 changes: 1 addition & 1 deletion .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {

$env:R_LIB_PATH = "$env:BUILD_SOURCESDIRECTORY/RLibrary" -replace '[\\]', '/'
$env:R_LIBS = "$env:R_LIB_PATH"
$env:PATH = "$env:RTOOLS_BIN;" + "$env:RTOOLS_MINGW_BIN;" + "$env:R_LIB_PATH/R/bin/x64;"+ $env:PATH
$env:PATH = "$env:RTOOLS_BIN;" + "$env:RTOOLS_MINGW_BIN;" + "$env:R_LIB_PATH/R/bin/x64;" + "C:\TinyTex\bin\win32;" + "C:\TinyTex\bin\windows;" + $env:PATH
$env:CRAN_MIRROR = "https://cran.rstudio.com"
$env:MIKTEX_EXCEPTION_PATH = "$env:TEMP\miktex"

Expand Down

0 comments on commit f1ac311

Please sign in to comment.