CrrryProc: Launch a crrrry on a local process

Description Value Super class Methods

Description

Launch a crrrry on a local process

Launch a crrrry on a local process

Value

A crrrry object

Super class

crrry::CrrryGeneric -> CrrryOnPage

Methods

Public methods

Inherited methods

Method stdout()

Get the process stdout

Usage
CrrryProc$stdout()

Method stderr()

Get the process stderr

Usage
CrrryProc$stderr()

Method new()

Wait for a JS condition to be TRUE

Usage
CrrryProc$new(
  chrome_bin = Sys.getenv("HEADLESS_CHROME"),
  fun = "pkgload::load_all();run_app()",
  shiny_port = 2811L,
  chrome_port = 9222L,
  headless = TRUE,
  pre_launch_cmd = "",
  ...
)
Arguments
chrome_bin

Path to Chrome binary, passed to Chrome$new()

fun

A function launching the shiny app

shiny_port

The port to launch the shiny apps on

chrome_port

Chrome_port, passed to Chrome$new()

headless

Run headless? Passed to Chrome$new()

pre_launch_cmd

Code to launch before fun.

...

Futher args passed to Chrome$new()


Method stop()

Stop the process

Usage
CrrryProc$stop()

Method is_alive()

Check if the url is available

Usage
CrrryProc$is_alive()

Method clone()

The objects of this class are cloneable with this method.

Usage
CrrryProc$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


ColinFay/crrry documentation built on Oct. 14, 2020, 12:13 p.m.