Skip to content

Commit

Permalink
dontrun examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Dec 12, 2017
1 parent de16434 commit 130e93d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion man/check_docker_install.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/check_docker_running.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 130e93d

Please sign in to comment.