fork: Fork a gist

Description Usage Arguments Value Examples

View source: R/forks.R

Description

Fork a gist

Usage

1

Arguments

gist

A gist object or something coerceable to a gist

...

Further named args to GET

Value

A gist class object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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(.)]

## End(Not run)

ropensci/gistr documentation built on Aug. 11, 2018, 3:49 a.m.