mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-15 05:01:19 +00:00
59 lines
2.7 KiB
JSON
59 lines
2.7 KiB
JSON
{
|
|
"version": "3.5.3",
|
|
"description": "Microsoft R Open: The enhanced distribution of R from Microsoft Corporation",
|
|
"homepage": "https://mran.microsoft.com/",
|
|
"license": "GPL-2.0-only",
|
|
"suggest": {
|
|
"Visual C/C++ Runtime 2015": "extras/vcredist2015"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://mran.blob.core.windows.net/install/mro/3.5.3/windows/microsoft-r-open-3.5.3.exe",
|
|
"hash": "a2ef254a63f60234996e6eafe9686fddf99b5835732ff52d6ae0f4bcd547d14b",
|
|
"installer": {
|
|
"script": [
|
|
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\_tmp\"",
|
|
"Expand-MsiArchive \"$dir\\_tmp\\AttachedContainer\\ROpen.msi\" \"$dir\\_tmp\"",
|
|
"movedir \"$dir\\_tmp\\Microsoft\\MRO-$version.0\" \"$dir\" | Out-Null",
|
|
"Expand-7zipArchive \"$dir\\Setup\\*.cab\" \"$dir\\Setup\"",
|
|
"Remove-Item \"$dir\\bin\\x64\\Rblas.dll\", \"$dir\\bin\\x64\\Rlapack.dll\" -Force",
|
|
"movedir \"$dir\\Setup\\bin\\x64\" \"$dir\\bin\\x64\" | Out-Null",
|
|
"movedir \"$dir\\Setup\\library\" \"$dir\\library\" | Out-Null",
|
|
"Remove-Item \"$dir\\_tmp\", \"$dir\\Setup\", \"$dir\\$fname\" -Force -Recurse"
|
|
]
|
|
},
|
|
"bin": [
|
|
"bin\\x64\\r.exe",
|
|
"bin\\x64\\rterm.exe",
|
|
"bin\\x64\\rscript.exe"
|
|
]
|
|
}
|
|
},
|
|
"notes": [
|
|
"You'll need to type 'r.ps1' or 'r.cmd' to run MRO, 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://mran.microsoft.com/assets/configurations/app.config.json",
|
|
"jp": "$.latestMicrosoftRVersion"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://mran.blob.core.windows.net/install/mro/$version/windows/microsoft-r-open-$version.exe",
|
|
"hash": {
|
|
"mode": "json",
|
|
"jsonpath": "$..versions[?(@.downloadText == '$basename')].sha256",
|
|
"url": "https://mranapi.azurewebsites.net/api/download"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|