
R
Paquet d’installation silencieuse pour R
4.4.2-1
- package: tis-r
- name: R
- version: 4.4.2-1
- maintainer: Jordan ARNAUD
- editor: R editor
- licence: GNU General Public License
- target_os: darwin
- architecture: x64
- signature_date:
- size: 100.16 Mo
- homepage : https://www.r-project.org/
package : tis-r
version : 4.4.2-1
architecture : x64
section : base
priority : optional
name : R
categories :
maintainer : Jordan ARNAUD
description : software environment for statistical computing and graphics.
depends :
conflicts :
maturity : PROD
locale :
target_os : darwin
min_wapt_version : 2.3
sources : https://pbil.univ-lyon1.fr/CRAN/bin/windows/base/
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : R editor
keywords :
licence : GNU General Public License
homepage : https://www.r-project.org/
package_uuid : cef45d36-658d-4a8d-a9d6-df54091cbfd1
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 11
max_os_version :
icon_sha256sum : 0f047e5ce928decd28652089ea13e88ecb0d2176c24c070ed401b0e072f4bfb4
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-11-06T06:01:00.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 : FBxW95LAgwzOuu5eT6xeKlanX4C62cnv1kdZTRN5S5nYGgBwtdQCM63C+ahkW+gM8HQNpk9IjE2P49mveENNOsODV9MXRNNnlAU5B8yz+3YM6SP/j6KFhnhS7naz8PMd7HuzyfVIpq6h4lN34vg4ubOkYid0kCimAQd72rIsC6Spb2+M5CUFvVEaSYwC9dlOnRsnGHRi+YXdJMNgIavW9B01WbWksfb1llsJBNbDLdFi/MCmY7m/mKoO33dxth3/rWjW7gcNmF8SMFxoJ1fq6GAFOPOsgbCawlatBiYY5rrbDAmNjhe/ORMhE+Bne3uNfcd0amqfoUJoYpvhTPfthg==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
def install():
bin_name = glob.glob("*.pkg")[0]
install_pkg(
bin_name,
key="pkgid:org.R-project.x86_64.R.GUI.pkg",
)
uninstallkey.append("pkgid:org.R-project.x86_64.R.GUI.pkg")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
update_dict = {
"os_archi": {
"x64": "x86_64",
"arm" : "arm64"
},
}
url = "https://cran.r-project.org/bin/macosx/"
archi = update_dict["os_archi"][control.architecture]
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "h2", proxies=proxies):
version = bs_search.text.split(" ")[1]
latest_bin = f"R-{version}-{archi}.pkg"
download_url = f"https://cran.r-project.org/bin/macosx/big-sur-{archi}/base/R-{version}-{archi}.pkg"
break
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# 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)
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
d7704eaab96f00612af6eb588911bc1e536d93b8d47ac44b519d7520fd58d573 : R-4.4.2-x86_64.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2a90df4834e06b541ce3d832f8c76809b7ff54021c90d54de7b622a12188affb : WAPT/control
0f047e5ce928decd28652089ea13e88ecb0d2176c24c070ed401b0e072f4bfb4 : WAPT/icon.png
0f542c2eb686085f3cf6471f5e7d45d0205420e23b953e87d2fb8d4125a01ed3 : luti.json
e7f26b2ce0383d0d8ef69ea5927ab20b5deb7d1e6ef12e8e669ca4c964109905 : setup.py
5225542157b3f39128d4213cbd378e495cf30f7512b31d6570a001cea5254d8e : update_package.py