find_chrome_binary: Find Google Chrome binary in the system

Description Usage Details Value Author(s) References

View source: R/Chrome.R

Description

If the chrome binary path has not already been set in HEADLESS_CHROME environment variable, the function will try to find the chrome binary on your system using a some hints.

Usage

1

Details

Windows

It will look in the registry for an installed version

macOS,

It will return a hard-coded path of Chrome under ‘/Applications’.

Linux,

It will search for chromium-browser and google-chrome from the system's PATH variable.

Value

A character string. The path the chrome binary that will be used by crrri.

Author(s)

Yihui Xie, Romain Lesur, Christophe Dervieux

References

From pagedown R package, licence MIT. Source on Github


RLesur/crrri documentation built on March 20, 2021, 8:47 a.m.