mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-12 19:51:22 +00:00
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://www.r-project.org",
|
|
"version": "3.5.0",
|
|
"license": "GPL-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cran.rstudio.com/bin/windows/base/R-3.5.0-win.exe",
|
|
"hash": "28adf9d90a106ba7d232d419bf8e950ac85767fd3e5586d55dcc173bf476e40d",
|
|
"pre_install": "copy-item -recurse \"$dir\\bin\\x64\" \"$dir\\bin\\curr_arch\""
|
|
},
|
|
"32bit": {
|
|
"url": "https://cran.rstudio.com/bin/windows/base/R-3.5.0-win.exe",
|
|
"hash": "28adf9d90a106ba7d232d419bf8e950ac85767fd3e5586d55dcc173bf476e40d",
|
|
"pre_install": "copy-item -recurse \"$dir\\bin\\i386\" \"$dir\\bin\\curr_arch\""
|
|
}
|
|
},
|
|
"innosetup": true,
|
|
"bin": [
|
|
"bin\\curr_arch\\r.exe",
|
|
"bin\\curr_arch\\rterm.exe",
|
|
"bin\\curr_arch\\rscript.exe"
|
|
],
|
|
"notes": "You'll need to type 'r.ps1' or 'r.cmd' to run R, because in Powershell 'r' runs the last command. Alternatively 'rterm' can be used to start the interactive R terminal session.
|
|
|
|
You can remove Powershell's 'r' command with:
|
|
rm alias:\\r
|
|
|
|
... but this only affects your current session: if you'd like to remove it for all future sessions you need to add the command above to your Powershell profile.
|
|
|
|
Annoying, right?! You might want to check out Pshazz (scoop install pshazz)--this has a plugin to remove some crazy aliases from Powershell, as well as many other improvements.
|
|
",
|
|
"checkver": {
|
|
"url": "https://cran.rstudio.com/bin/windows/base/",
|
|
"re": "<h1>R-([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cran.rstudio.com/bin/windows/base/R-$version-win.exe"
|
|
},
|
|
"32bit": {
|
|
"url": "https://cran.rstudio.com/bin/windows/base/R-$version-win.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|