pipe: Pipe functions

Description Arguments Examples

Description

Like dplyr, vembedr also uses the pipe function, \%>\% to turn function composition into a series of imperative statements.

Arguments

lhs, rhs

An embed object and a function to apply to it

Examples

1
2
3
4
# Instead of
use_start_time(rickroll_youtube(), "1m35s")
# you can write
rickroll_youtube() %>% use_start_time("1m35s")

vembedr documentation built on Oct. 23, 2020, 8:26 p.m.