Skip to content

Commit

Permalink
quiet installs
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed May 26, 2020
1 parent 9525c0b commit 19fc5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Write-Output "Done installing Rtools"

Write-Output "Installing dependencies"
$packages = "c('data.table', 'jsonlite', 'httr', 'Matrix', 'processx', 'R6', 'testthat'), dependencies = c('Imports', 'Depends', 'LinkingTo')"
Rscript --vanilla -e "options(install.packages.check.source = 'no'); install.packages($packages, repos = '$env:CRAN_MIRROR', type = 'binary', lib = '$env:R_LIB_PATH')" 2>&1 | %{ "$_" } ; Check-Output $?
Rscript --vanilla -e "options(install.packages.check.source = 'no'); install.packages($packages, repos = '$env:CRAN_MIRROR', type = 'binary', lib = '$env:R_LIB_PATH', verbose = FALSE, quiet = TRUE)" ; Check-Output $?

# MiKTeX and pandoc can be skipped on non-MINGW builds, since we don't
# build the package documentation for those
Expand All @@ -67,7 +67,7 @@ if ($env:COMPILER -eq "MINGW") {
.\miktex\download\miktexsetup.exe --remote-package-repository="$env:CTAN_MIRROR" --portable="$env:R_LIB_PATH/miktex" --quiet install ; Check-Output $?
Write-Output "Done installing MiKTeX"

initexmf --set-config-value [MPM]AutoInstall=1 2>&1
initexmf --set-config-value [MPM]AutoInstall=1 2>&1 | %{ "$_" }
conda install -q -y --no-deps pandoc
}

Expand Down

0 comments on commit 19fc5ab

Please sign in to comment.