install.Rtools(): wrong URL
Closed this issue · 9 comments
In download_fun(exe_URL, destfile = exe_filename, quiet = FALSE, :
cannot open URL 'https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe (recommended)': HTTP status was '404 Not Found'
Obviously the "(recommended") string is erroneously included into the URL
Could you share some details such as the exact code you used, OS type and R version?
Same here (Win7, R 3.6.0):
install.Rtools() for the current version 3.6 led to the following:
Please remember you are using: R version 3.6.0 (2019-04-26)
tryURL 'https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe (recommended)'
Explanation of the error: You didn't enter a valid .EXE URL.
I also think the (recommended) was pasted after the .exe in the url. Installed now a previous version (from the selection), which worked fine.
sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1Matrix products: default
locale:
[1] LC_COLLATE=German_Austria.1252 LC_CTYPE=German_Austria.1252
[3] LC_MONETARY=German_Austria.1252 LC_NUMERIC=C
[5] LC_TIME=German_Austria.1252attached base packages:
[1] stats graphics grDevices utils datasets methods baseloaded via a namespace (and not attached):
[1] compiler_3.6.0 magrittr_1.5 tools_3.6.0 htmltools_0.3.6
[5] yaml_2.2.0 Rcpp_1.0.1 stringi_1.4.3 rmarkdown_1.13
[9] highr_0.8 knitr_1.23 stringr_1.4.0 xfun_0.7
[13] digest_0.6.19 evaluate_0.14
installr_0.21.3
Can confirm
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299)
Matrix products: default
locale:
[1] LC_COLLATE=Dutch_Netherlands.1252 LC_CTYPE=Dutch_Netherlands.1252
[3] LC_MONETARY=Dutch_Netherlands.1252 LC_NUMERIC=C
[5] LC_TIME=Dutch_Netherlands.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] htmltab_0.7.1
loaded via a namespace (and not attached):
[1] httr_1.4.0 compiler_3.6.0 R6_2.4.0 magrittr_1.5
[5] tools_3.6.0 curl_3.3 stringi_1.4.3 installr_0.21.3
[9] stringr_1.4.0 XML_3.98-1.20
Same issue:
Warning message:
In download_fun(exe_URL, destfile = exe_filename, quiet = FALSE, :
cannot open URL 'https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe (recommended)': HTTP status was '404 Not Found'
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] htmltab_0.7.1
loaded via a namespace (and not attached):
[1] XML_3.98-1.20 installr_0.21.3 ps_1.3.0 prettyunits_1.0.2
[5] crayon_1.3.4 assertthat_0.2.1 R6_2.4.0 magrittr_1.5
[9] httr_1.4.0 stringi_1.4.3 cli_1.1.0 curl_3.3
[13] rstudioapi_0.10 callr_3.3.0 tools_3.6.0 stringr_1.4.0
[17] compiler_3.6.0 processx_3.4.0 pkgbuild_1.0.3.9000
The recent version on github should have this fixed.
Please check by running:
remotes::install_github('talgalili/installr')
If it doesn't work, please reopen this ticket.
Thanks :)