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

installDependencies()

See also

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

Examples

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