Checks that Docker daemon is running correctly on the local system, and that vol2bird Docker image is available.
check_docker(verbose = TRUE)
verbose | logical. When TRUE messages are printed to R console. |
---|
0 upon success, otherwise an error code: 1 if Docker vol2bird image not available, 2 if Docker daemon not running, 3 if Docker daemon not found.
if (FALSE) { # check if Docker is running and vol2bird image is available: check_docker() }