tis-rstudio icon

RStudio

Silent install package for RStudio

2026.4.0-4
Development
Development

  • package: tis-rstudio
  • name: RStudio
  • version: 2026.4.0-4
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELE
  • editor: Posit, PBC
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • impacted_process: rpostback,rsession-utf8,rsession,rsinverse,rstudio,rsession
  • architecture: all
  • signature_date:
  • size: 319.84 Mo
  • installed_size: 809.18 Mo
  • homepage : https://posit.co/

package           : tis-rstudio
version           : 2026.4.0-4
architecture      : all
section           : base
priority          : optional
name              : RStudio
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELE
description       : RStudio is an integrated development environment for R, a programming language for statistical computing and graphics
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://posit.co/download/rstudio-desktop/#download
installed_size    : 809176509
impacted_process  : rpostback,rsession-utf8,rsession,rsinverse,rstudio,rsession
description_fr    : RStudio est un environnement de développement intégré pour R, un langage de programmation pour le calcul statistique et les graphiques
description_pl    : RStudio to zintegrowane środowisko programistyczne dla R, języka programowania dla obliczeń statystycznych i grafiki
description_de    : RStudio ist eine integrierte Entwicklungsumgebung für R, eine Programmiersprache für statistische Berechnungen und Grafiken
description_es    : RStudio es un entorno de desarrollo integrado para R, un lenguaje de programación para la computación estadística y los gráficos
description_pt    : RStudio é um ambiente de desenvolvimento integrado para R, uma linguagem de programação para computação estatística e gráfica
description_it    : RStudio è un ambiente di sviluppo integrato per R, un linguaggio di programmazione per il calcolo statistico e la grafica
description_nl    : RStudio is een geïntegreerde ontwikkelomgeving voor R, een programmeertaal voor statistische berekeningen en grafische toepassingen
description_ru    : RStudio - это интегрированная среда разработки для R, языка программирования для статистических вычислений и графики
audit_schedule    : 
editor            : Posit, PBC
keywords          : rstudio,development,environment,r,programming,language,statistical
licence           : GPLv3
homepage          : https://posit.co/
package_uuid      : 2b4427ce-3d7d-4d6d-9305-7f38881dc894
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.rstudio.com/products/rstudio/release-notes/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ae6c2ef2ed42041524718ab7db6332894c8121e6a502937dc4590702419aed60
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-05-05T14:00:36.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : KcPT036CDl8ybG+Ee2pDnZv87ImIzH/WrPKScUYSXSLhhO25x9lc/CL9vsU0EeoEEdinn3KTucvAWMPbhtXMlrjN17Jd0gaQ2QRNWhFmVZNRMVpZUiH3ytShsONIy0I6d+jnKlzpli0K7L6kS1IzsDUnrPJiWV8i/G6w88/ll0/9wrP/RaU7nuKD3YdEn0qCIpV836lJttrPcnKAiWJfwuuZZMJiqY5Bb585VYXSxQ8UIawqQGmXh9nXWlERTdUTtNgi5A89qWq4RS+4ixG3X3NUjJvI++KaU/Xzwg1GdVr2uRfjQk7prnLPCu+fSRT5gxhHuZzYS1AKoDBVM0HCFg==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("RStudio*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="RStudio",
        min_version=control.get_software_version(),
        get_version=get_soft_version,
    )


def get_soft_version(key):
    return key["version"].split("+", 1)[0]

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import requests
import glob

def update_package():
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0"}
    
    # First Redirection URL: https://download1.rstudio.org/electron/windows/RStudio-xxxxx.exe => https://rstudio.org/download/latest/stable/desktop/windows/RStudio-latest.exe
    redirect_url = "https://rstudio.org/download/latest/stable/desktop/windows/RStudio-latest.exe"
    r = requests.head(redirect_url, headers=headers, proxies=proxies, allow_redirects=True)

    # Second Redirection URL to amazonaws
    final_url = r.url
    print("Final URL: %s" % final_url)

    # Build last version
    latest_bin = final_url.split("/")[-1]
    if not latest_bin.endswith(".exe"):
        error("Unexpected final URL, no .exe found: %s" % final_url)
    try:
        version = latest_bin.split("-")[1].replace(".exe", "")
    except Exception:
        error("Version not found in file name: %s" % latest_bin)
    print("Binary  : %s" % latest_bin)
    print("Version : %s" % version)

    download_url = final_url

    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    if not isfile(latest_bin):
        print("Downloading: %s" % download_url)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()
    return package_updated

8b5da756394bc4ea7814bf6452374f1bf5a5cb842708336fe2aa70c69a93fe10 : RStudio-2026.04.0-526.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
36ddd04bb67b20d94032c4dd993448999a10f7f352eb7d3376eced72fa527075 : WAPT/changelog.txt
c594e655de0f65c4ef2e1005bd3f81277fadf3c9876bfae64943e8c4946cec15 : WAPT/control
ae6c2ef2ed42041524718ab7db6332894c8121e6a502937dc4590702419aed60 : WAPT/icon.png
1ea9e4176eddf5b2d5d0b0170f6eb0b936ab47c0ebfd1f5ee0a41c6b44ed7021 : luti.json
d7d8789fcb04e15d1b49973077024ea075e860b3a7a9932273836c263bf88c1c : setup.py
650aa52f9369bafadfac0da38a2dc9728eeadbe739c104a934607fcedfbe6988 : update_package.py

https://www.rstudio.com/products/rstudio/release-notes/
2022.7.2-4
===
Improving package in all aspect
Using new download source