Task #2977

R packages check, upgrade test procedure

Added by Matthieu Decorde over 2 years ago. Updated almost 2 years ago.

Status:New Start date:12/16/2020
Priority:Normal Due date:
Assignee:- % Done:

50%

Category:Stats / R Spent time: -
Target version: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

History

#1 Updated by Matthieu Decorde almost 2 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde almost 2 years ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4
  • % Done changed from 0 to 50

the "test" step is no done

Also available in: Atom PDF