diff --git a/R/install.R b/R/install.R index 1ad4026..f6fe3a6 100644 --- a/R/install.R +++ b/R/install.R @@ -55,7 +55,8 @@ install_docker = function() { #' @return \code{TRUE} if Docker was deteted, \code{FALSE} otherwise. #' #' @examples -#' check_docker_install() +#' \dontrun{ +#' check_docker_install()} check_docker_install = function() { x = system('docker -v', intern = TRUE) @@ -71,7 +72,8 @@ check_docker_install = function() { #' @return \code{TRUE} if Docker daemon is running, \code{FALSE} otherwise. #' #' @examples -#' check_docker_running() +#' \dontrun{ +#' check_docker_running()} check_docker_running = function() { if (!check_docker_install()) FALSE else suppressWarnings( diff --git a/man/check_docker_install.Rd b/man/check_docker_install.Rd index 2f47b83..7fe135c 100644 --- a/man/check_docker_install.Rd +++ b/man/check_docker_install.Rd @@ -15,5 +15,6 @@ installed and discoverable by R and liftr. If still not usable, please start Docker daemon } \examples{ -check_docker_install() +\dontrun{ +check_docker_install()} } diff --git a/man/check_docker_running.Rd b/man/check_docker_running.Rd index 60a4f0a..a04bc88 100644 --- a/man/check_docker_running.Rd +++ b/man/check_docker_running.Rd @@ -13,5 +13,6 @@ check_docker_running() This function checks if the Docker daemon is running. } \examples{ -check_docker_running() +\dontrun{ +check_docker_running()} }