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")

ijlyttle/vembedr documentation built on Dec. 28, 2021, 3:31 a.m.