installDependencies {shinytest}R Documentation

Installs missing dependencies

Description

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

Usage

installDependencies()

See Also

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

Examples

## Not run: 

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


## End(Not run)


[Package shinytest version 1.3.0 Index]