Description Usage Arguments Details Value Author(s) See Also Examples
The specified library is loaded mutedly by suppressing all messages. If the
library is not found, or its version under the specification of
minVer
, the R session dies with a message.
1 | libordie(package, minVer, missing.quit.status = 1, ver.quit.status = 1)
|
package |
One package name (can be character or non-quoted symbol (see examples) |
minVer |
Optional, character string, the minimum working version |
missing.quit.status |
Integer, the status of quitting when the package was not found |
ver.quit.status |
Integer, the status of quitting when the package was found, but older than the minimum working version |
Only one package should be tested once.
NULL
if success, otherwise the session will be killed.
Jitao David Zhang <jitao_david.zhang@roche.com>
The function calls qqmsg
internally to kill the
session
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.