Learn R Programming

gistr (version 0.4.0)

fork: Fork a gist

Description

Fork a gist

Usage

fork(gist, ...)

Arguments

gist

A gist object or something coerceable to a gist

...

Further named args to GET

Value

A gist class object

Examples

Run this code
# NOT RUN {
# fork a gist
gists()[[1]] %>% fork()

# browse to newly forked gist
gist(id='0831f3fbd83ac4d46451') %>% fork() %>% browse()

# extract the last one
gist(id='1642874') %>%
 forks() %>%
 .[length(.)]
# }

Run the code above in your browser using DataLab