mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
Add R tools for windows (#1264)
* add R for windows * fix tests * fix for tests * remove unused file * fix doc version for R Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
11
images/win/scripts/Installers/Install-R.ps1
Normal file
11
images/win/scripts/Installers/Install-R.ps1
Normal file
@@ -0,0 +1,11 @@
|
||||
################################################################################
|
||||
## File: Install-R.ps1
|
||||
## Desc: Install R for Windows
|
||||
################################################################################
|
||||
|
||||
Choco-Install R.Project
|
||||
Choco-Install rtools
|
||||
|
||||
$rscriptPath = Resolve-Path "C:\Program Files\R\*\bin\x64"
|
||||
Add-MachinePathItem $rscriptPath
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "R"
|
||||
Reference in New Issue
Block a user