{
    "version": "2026.05.0-daily-162",
    "description": "An IDE for R with console, syntax-highlighting, editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.",
    "homepage": "https://www.rstudio.com/",
    "license": "AGPL-3.0-only",
    "depends": "r",
    "architecture": {
        "64bit": {
            "url": "https://s3.amazonaws.com/rstudio-ide-build/electron/windows/RStudio-2026.05.0-daily-162.exe#/dl.7z",
            "hash": "6482a287eede24e87463351aa72d100d938795ef302b7f0a23c7d40569cce06c",
            "post_install": [
                "Remove-Item \"$dir\\`$*\" -Recurse",
                "if (!(Test-Path \"$env:Appdata\\RStudio\")) {",
                "    New-Item \"$env:Appdata\\RStudio\" -ItemType Directory -Force | Out-Null",
                "}",
                "$conf = \"$env:Appdata\\RStudio\\desktop.ini\"",
                "$rpath = \"$(appdir r $global)\\current\\bin\\x64\".Replace('\\', '/')",
                "if (!(Test-Path $conf)) {",
                "    @(",
                "        '[General]'",
                "        \"RBinDir=$rpath\"",
                "    ) | Add-Content -Path $conf -Encoding UTF8 -Force",
                "}"
            ]
        }
    },
    "bin": "rstudio.exe",
    "shortcuts": [
        [
            "rstudio.exe",
            "RStudio Daily"
        ]
    ],
    "checkver": {
        "url": "https://dailies.rstudio.com/rstudio/latest/index.json",
        "jsonpath": "$.products.electron.platforms.windows.filename",
        "regex": "RStudio-([\\w.-]+).exe"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://s3.amazonaws.com/rstudio-ide-build/electron/windows/RStudio-$version.exe#/dl.7z",
                "hash": {
                    "url": "https://dailies.rstudio.com/rstudio/latest/index.json",
                    "jsonpath": "$.products.electron.platforms.windows.sha256"
                }
            }
        }
    }
}
