Task #2977

R packages check, upgrade test procedure

Ajouté par Matthieu Decorde il y a presque 5 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:16/12/2020
Priorité:Normal Echéance:
Assigné à:- % réalisé:

50%

Catégorie:Stats / R Temps passé: -
Version cible:TXM 0.8.4

Description

A package test should :
  • check if the package is installed
  • if not installed, try install it
  • check if the installed package has the expected version for TXM
  • if no try upgrading the package
  • check if the package can be loaded
  • check if the package pass his own tests

Solution

use the following R commands:
  • installed.packaged : to test if the package is installed
  • packageVersion : to test the package version
  • library : to load the package
  • XYZ : to test the packages
    • see our own usage of the packages

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Description mis à jour (diff)

#2 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4
  • % réalisé changé de 0 à 50

the "test" step is no done

Formats disponibles : Atom PDF