message: Use R 4.0.2 and rtools 4.0
diff: @@ -632,23 +632,22 @@ matrix:
  language: cpp
  install:
  - - choco install r.project -y --version 3.6.0
  - - wget "https://github.com/hannesmuehleisen/choco-rtools/raw/master/rtools.3.5.0.nupkg"
  - - choco install rtools -s rtools.3.5.0.nupkg -f -y
  + - choco install r.project -y --version 4.0.2
  + - choco install rtools -y
  - choco install python3 --version 3.7.3 -y --params "/InstallDir:C:\Python37-x64"
  - choco install curl -y --force
  script:
  - export "PATH=/c/Rtools/bin:$PATH"
  - cd tools/rpkg
  - - C:/Program\ Files/R/R-3.6.0/bin/R.exe -f dependencies.R
  + - C:/Program\ Files/R/R-4.0.2/bin/R.exe -f dependencies.R
  - sh configure
  - - C:/Program\ Files/R/R-3.6.0/bin/R.exe CMD build .
  - - C:/Program\ Files/R/R-3.6.0/bin/R.exe CMD INSTALL --build --no-multiarch duckdb_*.tar.gz
  - - C:/Program\ Files/R/R-3.6.0/bin/R.exe CMD INSTALL duckdb_*.zip
  - - (cd tests; C:/Program\ Files/R/R-3.6.0/bin/R.exe -f testthat.R)
  + - C:/Program\ Files/R/R-4.0.2/bin/R.exe CMD build .
  + - C:/Program\ Files/R/R-4.0.2/bin/R.exe CMD INSTALL --build --no-multiarch duckdb_*.tar.gz
  + - C:/Program\ Files/R/R-4.0.2/bin/R.exe CMD INSTALL duckdb_*.zip
  + - (cd tests; C:/Program\ Files/R/R-4.0.2/bin/R.exe -f testthat.R)
  - C:/Python37-x64/python.exe ../upload-s3.py rstats duckdb_*.zip
  - - C:/Program\ Files/R/R-3.6.0/bin/R.exe -e "tools::write_PACKAGES(dir = '.', type = 'win.binary')"
  + - C:/Program\ Files/R/R-4.0.2/bin/R.exe -e "tools::write_PACKAGES(dir = '.', type = 'win.binary')"
  - C:/Python37-x64/python.exe ../upload-s3.py rstats/bin/windows/contrib/4.0 duckdb_*.zip PACKAGES*
  - C:/Python37-x64/python.exe ../../scripts/asset-upload.py duckdb_r_windows.zip=duckdb_*.zip
  