Description Usage Value Examples
This function tries to lauch docker stats on the machine.
If the status code return by this command is not 0 (success),
this function will print a message and return FALSE.
If the return code is 0, this function invisibly return TRUE.
1 |
invisible(TRUE) if system("docker stats") return 0, invisible(FALSE) otherwise.
1 2 3 | if (interactive()){
dockerstats_available()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.