gep_render_magick: Render a page in a javascript context and take a screenshot

Description Usage Arguments Value Examples

View source: R/gepetto.R

Description

Render a page in a javascript context and take a screenshot

Usage

1
gep_render_magick(gep, url, width = 1440, height = 5000)

Arguments

gep

a gepetto connection object

url

the URL to fetch and render

width, height

viewport width/height

Value

magick image

Examples

1
2
3
4
5
## Not run: 
gepetto(port=3000) %>%
  gep_render_magick("https://r-project.org/")

## End(Not run)

hrbrmstr/decapitated documentation built on Aug. 2, 2019, 8:42 p.m.