File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
language-extensions/R/build/windows Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ IF "%R_HOME%" == "" (
2121 REM
2222 SET R_HOME = %DEFAULT_R_HOME%
2323 MKDIR %DEFAULT_R_HOME%
24- powershell -Command " Invoke-WebRequest https://cran.microsoft.com /bin/windows/base/old/%R_VERSION% /%R_INSTALLER% -OutFile %DEFAULT_R_HOME% \%R_INSTALLER% "
24+ powershell -Command " Invoke-WebRequest https://cran.r-project.org /bin/windows/base/old/%R_VERSION% /%R_INSTALLER% -OutFile %DEFAULT_R_HOME% \%R_INSTALLER% "
2525 CALL :CHECKERROR %ERRORLEVEL% " Error: Failed to download R-%R_VERSION% ." || EXIT /b %ERRORLEVEL%
2626 %DEFAULT_R_HOME% \%R_INSTALLER% /VERYSILENT /DIR=%DEFAULT_R_HOME%
2727 CALL :CHECKERROR %ERRORLEVEL% " Error: Failed to install R-%R_VERSION% ." || EXIT /b %ERRORLEVEL%
@@ -38,9 +38,9 @@ REM Get RTools35 for mingw32-make and rtools40 for g++ v8.3.0 that works with C+
3838REM
3939SET RTOOLS_HOME = %PACKAGES_ROOT% \Rtools
4040MKDIR %RTOOLS_HOME%
41- powershell -Command " Invoke-WebRequest https://cran.microsoft.com /bin/windows/Rtools/Rtools35.exe -OutFile %RTOOLS_HOME% \Rtools35.exe"
41+ powershell -Command " Invoke-WebRequest https://cran.r-project.org /bin/windows/Rtools/Rtools35.exe -OutFile %RTOOLS_HOME% \Rtools35.exe"
4242CALL :CHECKERROR %ERRORLEVEL% " Error: Failed to download Rtools3.5." || EXIT /b %ERRORLEVEL%
43- powershell -Command " Invoke-WebRequest https://cran.microsoft.com /bin/windows/Rtools/rtools40-x86_64.exe -OutFile %RTOOLS_HOME% \rtools40.exe"
43+ powershell -Command " Invoke-WebRequest https://cran.r-project.org /bin/windows/Rtools/rtools40-x86_64.exe -OutFile %RTOOLS_HOME% \rtools40.exe"
4444CALL :CHECKERROR %ERRORLEVEL% " Error: Failed to download Rtools4.0." || EXIT /b %ERRORLEVEL%
4545
4646REM Install RTools
You can’t perform that action at this time.
0 commit comments