{ "version": "4.5.6608.6492", "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.3.x, please use 'versions/rtools43'.", "For R 4.4.x, please use 'versions/rtools44'." ], "architecture": { "64bit": { "url": "https://cloud.r-project.org/bin/windows/Rtools/rtools45/files/rtools45-6608-6492.exe", "hash": "5407bcc3406a1d602423b68d5e7b7110a2a5f363627b6159d5e17a3392904d6c" }, "arm64": { "url": "https://cloud.r-project.org/bin/windows/Rtools/rtools45/files/rtools45-aarch64-6608-6492.exe", "hash": "9612f8e80192e9ac4cb0177e2e481917ffd46da9fea218ebbc3422fcc7afd015" } }, "innosetup": true, "installer": { "script": [ "if (Test-Path 'C:\\rtools45') {", " if ($null -eq (Get-Item 'C:\\rtools45').LinkType) {", " Rename-Item -Path 'C:\\rtools45' -NewName 'rtools45.old' -Force", " } else {", " Remove-Item -Path 'C:\\rtools45' -Force", " }", "}", "New-Item -Path \"$dir\\tmp\" -ItemType Directory | Out-Null", "New-Item -Path 'C:\\rtools45' -Target \"$dir\" -ItemType Junction | Out-Null" ] }, "uninstaller": { "script": [ "if ((Test-Path 'C:\\rtools45') -and ($null -ne (Get-Item 'C:\\rtools45').LinkType)) {", " Remove-Item -Path 'C:\\rtools45' -Force", "}", "if (Test-Path 'C:\\rtools45.old') {", " Rename-Item -Path 'C:\\rtools45.old' -NewName 'rtools45' -Force", "}" ] }, "checkver": { "url": "https://cloud.r-project.org/bin/windows/Rtools/rtools45/files/", "regex": ">rtools45\\-(\\d+)\\-(\\d+).exe<", "replace": "4.5.${1}.${2}" }, "autoupdate": { "architecture": { "64bit": { "url": "https://cloud.r-project.org/bin/windows/Rtools/rtools45/files/rtools45-$match1-$match2.exe" }, "arm64": { "url": "https://cloud.r-project.org/bin/windows/Rtools/rtools45/files/rtools45-aarch64-$match1-$match2.exe" } } } }