Task #2977

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

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

h3. 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

Retour