File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 26
26
Write-Host "##vso[task.prependpath]C:\Strawberry\perl\site\bin"
27
27
Write-Host "##vso[task.prependpath]C:\Strawberry\c\bin"
28
28
displayName: Add strawberry perl to PATH
29
+ - task : PowerShell@2
30
+ inputs :
31
+ filePath : " testing/get-renv.ps1"
32
+ displayName : install R (for language renv)
29
33
- template : job--python-tox.yml@asottile
30
34
parameters :
31
35
toxenvs : [py37]
Original file line number Diff line number Diff line change 1
- $dir = " C:\R\R-win.exe "
1
+ $dir = $ Env: Temp
2
2
$urlR = " https://cran.r-project.org/bin/windows/base/R-4.0.3-win.exe"
3
3
$outputR = " $dir \R-win.exe"
4
4
$wcR = New-Object System.Net.WebClient
5
5
$wcR.DownloadFile ($urlR , $outputR )
6
- $dirR = $dir + " R-win.exe"
7
- Start-Process - FilePath $dirR - ArgumentList " /S /v/qn"
6
+ Start-Process - FilePath $outputR - ArgumentList " /S /v/qn"
You can’t perform that action at this time.
0 commit comments