Task #2954

R packages check, wrong installation error message

Ajouté par Matthieu Decorde il y a presque 5 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:26/11/2020
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

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

Description

When TXM is trying to fix the packages:

The {0} package is not installed. Trying to install it now...

The {0} package was not installed. Please install it manually:
 * Run R
 * and execute install.packages("{1}") 

Solution

The installation test was wrong (it was trying to load the package to conclude the package is not installed.

Replace the "library(pkg)" call with the "installed.package('pkg')" call.

Révisions associées

Révision 2980
Ajouté par Matthieu Decorde il y a presque 5 ans

fix R packages installation messages and procedure refs #2954

Historique

#1 Mis à jour par Matthieu Decorde il y a presque 5 ans

  • Description mis à jour (diff)

#2 Mis à jour par Matthieu Decorde il y a presque 5 ans

  • Sujet changé de R package, loading error message à R packages check, wrong installation error message
  • Description mis à jour (diff)
  • % réalisé changé de 0 à 80

#3 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

#4 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

Formats disponibles : Atom PDF