Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtools43: Add version 4.3.5958.5975 #1704

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bucket/rtools40.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"notes": [
"For R 3.3.x to 3.6.x, please use 'versions/rtools35'.",
"For R 4.2.x, please use 'versions/rtools42'.",
"For R 4.3.0 and up, please use 'rtools'."
"For R 4.3.x, please use 'versions/rtools43'.",
"For R 4.4.x and up, please use 'rtools'."
],
"architecture": {
"64bit": {
Expand Down
3 changes: 2 additions & 1 deletion bucket/rtools42.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"notes": [
"For R 3.3.x to 3.6.x, please use 'versions/rtools35'.",
"For R 4.0.x to 4.1.x, please use 'versions/rtools40'.",
"For R 4.3.0 and up, please use 'rtools'."
"For R 4.3.x, please use 'versions/rtools43'.",
"For R 4.4.x and up, please use 'rtools'."
],
"architecture": {
"64bit": {
Expand Down
53 changes: 53 additions & 0 deletions bucket/rtools43.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"version": "4.3.5958.5975",
"description": "Tools for building packages for R under Microsoft Windows, or for building R itself.",
"homepage": "https://cloud.r-project.org/bin/windows/Rtools",
"license": "BSD-3-Clause",
"notes": [
"For R 3.3.x to 3.6.x, please use 'versions/rtools35'.",
"For R 4.0.x to 4.1.x, please use 'versions/rtools40'.",
"For R 4.2.x, please use 'versions/rtools42'.",
"For R 4.4.x and up, please use 'rtools'."
],
"architecture": {
"64bit": {
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools43/files/rtools43-5958-5975.exe",
"hash": "bc25c0c8ce9716f7d13b31c255d19c21104c6b5ae18b374ce71ad50fcee05584"
}
},
"innosetup": true,
"installer": {
"script": [
"if (Test-Path 'C:\\rtools43') {",
" if ($null -eq (Get-Item 'C:\\rtools43').LinkType) {",
" Rename-Item -Path 'C:\\rtools43' -NewName 'rtools43.old' -Force",
" } else {",
" Remove-Item -Path 'C:\\rtools43' -Force",
" }",
"}",
"New-Item -Path 'C:\\rtools43' -Target \"$dir\" -ItemType Junction | Out-Null"
]
},
"uninstaller": {
"script": [
"if ((Test-Path 'C:\\rtools43') -and ($null -ne (Get-Item 'C:\\rtools43').LinkType)) {",
" Remove-Item -Path 'C:\\rtools43' -Force",
"}",
"if (Test-Path 'C:\\rtools43.old') {",
" Rename-Item -Path 'C:\\rtools43.old' -NewName 'rtools43' -Force",
"}"
]
},
"checkver": {
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools43/files/",
"regex": ">rtools43\\-(\\d+)\\-(\\d+).exe<",
"replace": "4.3.${1}.${2}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools43/files/rtools43-$match1-$match2.exe"
}
}
}
}