Execute a reprex::reprex() and take a local screenshot of the reprex output
Source:R/reprex_shot.R
reprex_shot.Rd
reprex_shot() will first take a reprex and then capture the HTML output into an on-disk image, optionally uploading the image to Imgur.
Arguments
- filename
a filename, ending in .png
- ...
additional arguments passed to reprex::reprex()
- open_file
A logical, should the file be opened once saved
- imgur
A logical, should the image be uploaded to imgur also
- venue
A character string indicating the venue (r, gh, rtf) - see reprex::reprex() for full options