installDependencies: Installs missing dependencies

Description Usage See Also Examples

View source: R/install.R

Description

Installs all the required system depencies to record and run tests. This will install a headless web browser, PhantomJS.

Usage

1

See Also

dependenciesInstalled to check if dependencies are missing. For more information about where PhantomJS will be installed, see install_phantomjs.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

if (!dependenciesInstalled() &&
    identical(menu(c("Yes", "No"), "Install missing dependencies?"), 1L)) {
  installDependencies()
}


## End(Not run)

rstudio/shinytest documentation built on Nov. 2, 2018, 8:59 a.m.