diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad5f74732..5f85f5be9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,6 +26,10 @@ jobs: Write-Host "##vso[task.prependpath]C:\Strawberry\perl\site\bin" Write-Host "##vso[task.prependpath]C:\Strawberry\c\bin" displayName: Add strawberry perl to PATH + - task: PowerShell@2 + inputs: + filePath: "testing/get-renv.ps1" + displayName: install R (for language renv) - template: job--python-tox.yml@asottile parameters: toxenvs: [py37] diff --git a/testing/get-renv.ps1 b/testing/get-renv.ps1 index ce76dc86b..49f44c26e 100644 --- a/testing/get-renv.ps1 +++ b/testing/get-renv.ps1 @@ -1,4 +1,4 @@ -$dir = "C:\R\R-win.exe" +$dir = $Env:Temp $urlR = "https://cran.r-project.org/bin/windows/base/R-4.0.3-win.exe" $outputR = "$dir\R-win.exe" $wcR = New-Object System.Net.WebClient