powered by
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.
dependenciesInstalled
install_phantomjs
# NOT RUN { if (!dependenciesInstalled() && identical(menu(c("Yes", "No"), "Install missing dependencies?"), 1L)) { installDependencies() } # } # NOT RUN { # }
Run the code above in your browser using DataLab