Installs all the required system depencies to record and run tests. This will install a headless web browser, PhantomJS.
installDependencies()
dependenciesInstalled to check if dependencies are
missing. For more information about where PhantomJS will be installed, see
install_phantomjs.
if (FALSE) { if (!dependenciesInstalled() && identical(menu(c("Yes", "No"), "Install missing dependencies?"), 1L)) { installDependencies() } }