- package: tis-r-project
- name: R Project
- version: 4.5.0-2
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELE
- locale: all
- target_os: windows
- impacted_process: R,Rscript,R,Rcmd,Rfe,Rgui,Rscript,RSetReg,Rterm
- architecture: all
- signature_date:
- size: 89.19 Mo
- installed_size: 172.45 Mo
package : tis-r-project
version : 4.5.0-2
architecture : all
section : base
priority : optional
name : R Project
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELE
description : R is a free software environment for statistical computing and graphics
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.1
sources : https://cloud.r-project.org/
installed_size : 172450090
impacted_process : R,Rscript,R,Rcmd,Rfe,Rgui,Rscript,RSetReg,Rterm
description_fr : R est un environnement logiciel libre pour le calcul statistique et les graphiques
description_pl : R to darmowe środowisko programistyczne do obliczeń statystycznych i grafiki
description_de : R ist eine freie Softwareumgebung für statistische Berechnungen und Grafiken
description_es : R es un entorno de software libre para el cálculo estadístico y los gráficos
description_pt : R é um ambiente de software livre para computação estatística e gráfica
description_it : R è un ambiente di software libero per il calcolo statistico e la grafica
description_nl : R is een vrije softwareomgeving voor statistische berekeningen en grafieken
description_ru : R - это свободная программная среда для статистических вычислений и графики
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 36410070-d41d-4dfb-a34f-d6189d441b55
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 887962500a833b24cf37935a44f8a01589b66cf1e464e1d2b4909dd17c52ab8d
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-04-16T22:07:54.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 : WOdHZ1oQFSTeG+ZJbmLuOdX2jkj1+vplD65kfG99h0Sn6s//8HcngULAgOWsX8wx4Jj4DPv7ym1WbwxJMYm+UfVqGkwbkJuNtFyfKmBfpMZzTJ2ZDO4wbls5IWDiKmpQAcd6Bp45y76nEryl2Nu4+6c44x9ANzeU+QqtOWVZR5STCGTqlIxkMOxvQDvh05QCUh2OVC22w6BGYU62CxzTszfWSd/8OdxD6VKhx7UI3iQLV9WmUDEjok9y6zVbYi4vMThNmVA2kVctylUJVHPVnEtSTKtB9+9JqGi+VAgBf5pAhlIG0SamFbKzVM1j2Qy9WpCWt7txo89Bovh2z5Kb0A==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("R-*.exe")[0]
# Uninstalling older versions of the software
for to_uninstall in installed_softwares(name="R for Windows "):
if Version(to_uninstall["version"]) < Version(control.get_software_version()) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.get_impacted_process_list())
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
install_exe_if_needed(
bin_name,
silentflags="/VERYSILENT",
key="R for Windows %s_is1" % control.get_software_version(),
min_version=control.get_software_version(),
remove_old_version=True,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://cloud.r-project.org/bin/windows/base/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies):
if "R-" in bs_search["href"]:
version = bs_search["href"].split("-")[1]
latest_bin = bs_search["href"]
download_url = url + latest_bin
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
# if not version_from_file.startswith(version) and version_from_file != "":
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, latest_bin.replace(version, version_from_file))
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return package_updated
a0ee32e4eacdd003faada9d41dcb3264a441b81db00b0e6ba10f247ab21bb397 : R-4.5.0-win.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2dc580e50d7a55c0fa5443d8c4f3355c4c2ff614c3c573ff9af53a6b2f3bd449 : WAPT/control
887962500a833b24cf37935a44f8a01589b66cf1e464e1d2b4909dd17c52ab8d : WAPT/icon.png
a74df461493ef67d50c914af7d29537240f4274ad49860c3b390d85f92979ef6 : luti.json
d4036a6ca1e692d0f32984d910f64a5b51b3ce6c102df613c09dd6895edbe48d : setup.py
986f00a269ad16076e427550b073a9a0e64e2cd22f38746c07f5d2d511623c9d : update_package.py