Learn R Programming

cardargus (version 0.2.0)

chrome_available: Check if Chrome/Chromium is available for rendering

Description

Checks whether the chromote package can find and use a Chrome or Chromium installation for headless rendering.

Usage

chrome_available(verbose = FALSE)

Value

TRUE if Chrome is available, FALSE otherwise.

Arguments

verbose

Print status messages (default FALSE).

Examples

Run this code
if (chrome_available()) {
   cat("Using Chrome")
} else {
   cat("Using Magick")
}

Run the code above in your browser using DataLab