star: Star a gist

Description Usage Arguments Value Examples

View source: R/star.R

Description

Star a gist

Usage

1
2
3
4
5

Arguments

gist

A gist object or something that can be coerced to a gist object.

...

Curl options passed on to verb-GET

Value

A message, and a gist object, the same one input to the function.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
id <- '4ac33b9c00751fddc7f8'
gist(id) %>% star()
gist(id) %>% star_check()
gist(id) %>% unstar()
gist(id) %>% unstar() %>% star()
gist(id) %>% star_check()
gist(id) %>%
  star() %>%
  star_check()
  
# pass in a url
x <- "https://gist.github.com/expersso/4ac33b9c00751fddc7f8"
gist(x) %>% star
gist(x) %>% unstar

## End(Not run)

gistr documentation built on July 29, 2020, 9:07 a.m.