Browse Source

spelling

master
boB Rudis 7 years ago
parent
commit
5978ee2680
  1. 8
      R/docker-splash.r
  2. 2
      man/install_splash.Rd
  3. 6
      man/start_splash.Rd

8
R/docker-splash.r

@ -1,7 +1,7 @@
#' Retrieve the Docker image for Splash #' Retrieve the Docker image for Splash
#' #'
#' @md #' @md
#' @param host Docker host; defauolts to `localhost` #' @param host Docker host; defaults to `localhost`
#' @return `harbor` `host` object #' @return `harbor` `host` object
#' @export #' @export
#' @examples \dontrun{ #' @examples \dontrun{
@ -16,7 +16,9 @@ install_splash <- function(host = harbor::localhost) {
#' Start a Splash server Docker container #' Start a Splash server Docker container
#' #'
#' @param host Docker host; defauolts to `localhost` #' @param host Docker host; defauolts to `localhost`
#' @param add_tempdir if `TRUE` then a local temporary directory (made with [tempdir]()) #' @param add_tempdir This is `FALSE` initially since you could try to run
#' the splash image on a remote system. It has to be a local one for this to work.
#' If `TRUE` then a local temporary directory (made with [tempdir]())
#' will be added to the mount configuration for use with [render_file](). You will need to #' will be added to the mount configuration for use with [render_file](). You will need to
#' ensure the necessary system temp dirs are accessible as a mounts. For #' ensure the necessary system temp dirs are accessible as a mounts. For
#' macOS this means adding `/private` to said Docker config. #' macOS this means adding `/private` to said Docker config.
@ -30,7 +32,7 @@ install_splash <- function(host = harbor::localhost) {
#' splash_container <- start_splash() #' splash_container <- start_splash()
#' stop_splash(splash_container) #' stop_splash(splash_container)
#' } #' }
start_splash <- function(host = harbor::localhost, add_tempdir=TRUE) { start_splash <- function(host = harbor::localhost, add_tempdir=FALSE) {
doc_opts <- c("-p", "5023:5023", doc_opts <- c("-p", "5023:5023",
"-p", "8050:8050", "-p", "8050:8050",

2
man/install_splash.Rd

@ -7,7 +7,7 @@
install_splash(host = harbor::localhost) install_splash(host = harbor::localhost)
} }
\arguments{ \arguments{
\item{host}{Docker host; defauolts to \code{localhost}} \item{host}{Docker host; defaults to \code{localhost}}
} }
\value{ \value{
\code{harbor} \code{host} object \code{harbor} \code{host} object

6
man/start_splash.Rd

@ -4,12 +4,14 @@
\alias{start_splash} \alias{start_splash}
\title{Start a Splash server Docker container} \title{Start a Splash server Docker container}
\usage{ \usage{
start_splash(host = harbor::localhost, add_tempdir = TRUE) start_splash(host = harbor::localhost, add_tempdir = FALSE)
} }
\arguments{ \arguments{
\item{host}{Docker host; defauolts to `localhost`} \item{host}{Docker host; defauolts to `localhost`}
\item{add_tempdir}{if `TRUE` then a local temporary directory (made with [tempdir]()) \item{add_tempdir}{This is `FALSE` initially since you could try to run
the splash image on a remote system. It has to be a local one for this to work.
If `TRUE` then a local temporary directory (made with [tempdir]())
will be added to the mount configuration for use with [render_file](). You will need to will be added to the mount configuration for use with [render_file](). You will need to
ensure the necessary system temp dirs are accessible as a mounts. For ensure the necessary system temp dirs are accessible as a mounts. For
macOS this means adding `/private` to said Docker config.} macOS this means adding `/private` to said Docker config.}

Loading…
Cancel
Save