Task #2954
R packages check, wrong installation error message
Status: | New | Start date: | 11/26/2020 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Stats / R | Spent time: | - | ||
Target version: | 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.
Associated revisions
fix R packages installation messages and procedure refs #2954
History
#1 Updated by Matthieu Decorde over 2 years ago
- Description updated (diff)
#2 Updated by Matthieu Decorde over 2 years ago
- Subject changed from R package, loading error message to R packages check, wrong installation error message
- Description updated (diff)
- % Done changed from 0 to 80