R: add au.hash (#329)

This commit is contained in:
linsui 2019-08-16 16:25:38 +08:00 committed by Hsiao-nan Cheung
parent f2ed9d7e35
commit 07e3800ba7

View File

@ -3,24 +3,49 @@
"description": "A free software environment for statistical computing and graphics.",
"version": "3.6.1",
"license": "GPL-2.0-only",
"url": "https://cloud.r-project.org/bin/windows/base/R-3.6.1-win.exe",
"hash": "md5:f6ca2ecfc66a10a196991b6b6c4e91f6",
"innosetup": true,
"architecture": {
"64bit": {
"url": "https://cran.rstudio.com/bin/windows/base/R-3.6.1-win.exe",
"hash": "8019bdc376ed22c657b2441d15f2b9c6f9507fbffe896534fc2d364021f1c930",
"pre_install": "copy-item -recurse \"$dir\\bin\\x64\" \"$dir\\bin\\curr_arch\""
"pre_install": "Rename-Item \"$dir\\bin\\R,2.exe\" 'R.exe'",
"bin": [
"bin\\x64\\R.exe",
"bin\\x64\\Rcmd.exe",
"bin\\x64\\Rgui.exe",
"bin\\x64\\Rscript.exe",
"bin\\x64\\Rterm.exe"
],
"shortcuts": [
[
"bin\\x64\\Rgui.exe",
"R"
]
]
},
"32bit": {
"url": "https://cran.rstudio.com/bin/windows/base/R-3.6.1-win.exe",
"hash": "8019bdc376ed22c657b2441d15f2b9c6f9507fbffe896534fc2d364021f1c930",
"pre_install": "copy-item -recurse \"$dir\\bin\\i386\" \"$dir\\bin\\curr_arch\""
"pre_install": "Rename-Item \"$dir\\bin\\R,1.exe\" 'R.exe'",
"bin": [
"bin\\i386\\R.exe",
"bin\\i386\\Rcmd.exe",
"bin\\i386\\Rgui.exe",
"bin\\i386\\Rscript.exe",
"bin\\i386\\Rterm.exe"
],
"shortcuts": [
[
"bin\\i386\\Rgui.exe",
"R"
]
]
}
},
"innosetup": true,
"bin": [
"bin\\curr_arch\\r.exe",
"bin\\curr_arch\\rterm.exe",
"bin\\curr_arch\\rscript.exe"
],
"installer": {
"script": [
"Remove-Item \"$dir\\bin\\R,*.exe\" -Force",
"Copy-Item \"$dir\\bin\\R.exe\" \"$dir\\bin\\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.",
"",
@ -32,17 +57,13 @@
"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.]+)"
"url": "https://cloud.r-project.org/bin/windows/base/md5sum.txt",
"regex": "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"
}
"url": "https://cloud.r-project.org/bin/windows/base/R-$version-win.exe",
"hash": {
"url": "$baseurl/md5sum.txt"
}
}
}