Skip to content

Commit

Permalink
Set increased timeout for download.file to survive GH flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Mar 8, 2024
1 parent 762f42f commit dc7819d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/r/tools/r-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,12 @@ InstallDeps() {
}

InstallDepsAndSuggests() {
sudo Rscript -e 'remotes::install_deps(".", dependencies=TRUE)'
sudo Rscript -e 'options(timeout = max(300, getOption("timeout"))); remotes::install_deps(".", dependencies=TRUE)'
}

DumpSysinfo() {
echo "Dumping system information."
R -e '.libPaths(); sessionInfo(); installed.packages()'
Rscript -e '.libPaths(); sessionInfo(); installed.packages()'
}

DumpLogsByExtension() {
Expand Down

0 comments on commit dc7819d

Please sign in to comment.