gs_png_url: Get Google Slide PNG URL

Description Usage Arguments Value Examples

View source: R/gs_png.R

Description

Get Google Slide PNG URL

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gs_png_url(url)

get_slide_page(url)

gs_png_download(url, output_dir = ".", overwrite = TRUE)

include_slide(
  url,
  output_dir = knitr::opts_chunk$get("fig.path"),
  overwrite = TRUE,
  ...
)

Arguments

url

URL to Google Slide

output_dir

path to output png

overwrite

should the slide PNG be overwritten?

...

for include_slide, options passed to [knitr::include_graphics()]

Value

A character vector of URLs

Examples

1
2
3
4
5
url = paste0("https://docs.google.com/presentation/d/",
"12DPZgPteQBwgal6kSPP58zhPhjZ7QSPZLe3NkA8M3eo/edit",
"#slide=id.gc8648f14c3_0_397&t=4")
id = ariExtra::get_slide_id(url)
gs_png_url(url)

muschellij2/leanbuild documentation built on Dec. 21, 2021, 11:03 p.m.