|
|
@ -18,7 +18,7 @@ install_splash <- function(host = harbor::localhost) { |
|
|
|
#' If using this in an automation context, you should consider adding a |
|
|
|
#' `Sys.sleep(3)` (or higher) after starting the docker container. |
|
|
|
#' |
|
|
|
#' @param host Docker host; defauolts to `localhost` |
|
|
|
#' @param host Docker host; defaults to `localhost` |
|
|
|
#' @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]()) |
|
|
@ -26,7 +26,7 @@ install_splash <- function(host = harbor::localhost) { |
|
|
|
#' ensure the necessary system temp dirs are accessible as a mounts. For |
|
|
|
#' macOS this means adding `/private` to said Docker config. |
|
|
|
#' @note you need Docker running on your system and have pulled the container with |
|
|
|
#' [install_spash] for this to work. You should save the resultant `host` |
|
|
|
#' [install_splash] for this to work. You should save the resultant `host` |
|
|
|
#' object for use in [stop_splash]. |
|
|
|
#' @return `harbor` `container` object |
|
|
|
#' @export |
|
|
@ -57,7 +57,7 @@ start_splash <- function(host = harbor::localhost, add_tempdir=FALSE) { |
|
|
|
#' |
|
|
|
#' @param splash_container Docker `container` object created by [start_splash] |
|
|
|
#' @note you need Docker running on your system and have pulled the container with |
|
|
|
#' [install_spash] and started the Splash container with [start_splash] for this |
|
|
|
#' [install_splash] and started the Splash container with [start_splash] for this |
|
|
|
#' to work. You will need the `container` object from [start_splash] for this to work. |
|
|
|
#' @export |
|
|
|
#' @examples \dontrun{ |
|
|
|