tis-r icon

R

Paquet d’installation silencieuse pour R

4.4.3-1

  • package: tis-r
  • name: R
  • version: 4.4.3-1
  • maintainer: Jordan ARNAUD
  • editor: R editor
  • licence: GNU General Public License
  • target_os: darwin
  • architecture: x64
  • signature_date:
  • size: 104.47 Mo
  • homepage : https://www.r-project.org/

package           : tis-r
version           : 4.4.3-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      : 25dfb254-e0bc-4c8f-a8f6-3e708ccff623
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    : 2025-03-08T17:23:32.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         : mfzOtvrga7jCNGFSDhzmLrY/clqdnArlhSbwYdNlcTCMyjsTsjuIzIyrpe5kjLkooQxLDQuMZHptG+neKSdK5SigU067J+mlCVOiDyE0kNNjBPVoS2pWMsv2DQ7igHB6uw7w/Z2OqIS5s6Vn8xzpKjsdnWi3uYgJsAzP90jmDFh87eOaa392t3mrFIqtgbvudBgCwc17Hsns24AXTzkZS6l3ZEQXwsRT4dIx8H84vVipFLAgclkwAP5UVOWMr75lpJjgja2QSIAO3AbXYqb2lBZnCZZLDo6yrPlQBIFHHA0fkuVX04Wax3m76HBrcUAylxcrNbMZ5cKUBrSCW+JxxQ==

# -*- 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

d941c8f05f9c7a3de0add1724e9de8ed1638f9d344d7e94e8cfb7fbb3d31c088 : R-4.4.3-x86_64.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ce66431341d65be86be4957651098e3dc83c8ab1e9948a25554ecff10e68bd70 : WAPT/control
0f047e5ce928decd28652089ea13e88ecb0d2176c24c070ed401b0e072f4bfb4 : WAPT/icon.png
29b1efbeb72802710eb42a34b9bedfd2502dbd6655d09b873a54484cbdf0381c : luti.json
e7f26b2ce0383d0d8ef69ea5927ab20b5deb7d1e6ef12e8e669ca4c964109905 : setup.py
5225542157b3f39128d4213cbd378e495cf30f7512b31d6570a001cea5254d8e : update_package.py