@@ -96,8 +96,8 @@ update(add_files(gists(what = "minepublic")[[1]], file))
96
96
``` r
97
97
rate_limit()
98
98
# > Rate limit: 5000
99
- # > Remaining: 4897
100
- # > Resets in: 55 minutes
99
+ # > Remaining: 4999
100
+ # > Resets in: 60 minutes
101
101
```
102
102
103
103
### List gists
@@ -108,21 +108,21 @@ Limiting to a few results here to keep it brief
108
108
``` r
109
109
gists(per_page = 2 )
110
110
# > [[1]]
111
- # > <gist>d78aa1e84304254cda4629f7b5673d40
112
- # > URL: https://gist.github.com/d78aa1e84304254cda4629f7b5673d40
111
+ # > <gist>04b88f61e1e6c457354958c1e47c9bea
112
+ # > URL: https://gist.github.com/04b88f61e1e6c457354958c1e47c9bea
113
113
# > Description:
114
114
# > Public: TRUE
115
- # > Created/Edited: 2020-01-08T17:03:11Z / 2020-01-08T17:03:12Z
116
- # > Files: handsontable.full.min.js
115
+ # > Created/Edited: 2020-01-09T18:02:08Z / 2020-01-09T18:02:09Z
116
+ # > Files: maestra.blade.php
117
117
# > Truncated?: FALSE
118
118
# >
119
119
# > [[2]]
120
- # > <gist>f53546b3fd60a306da6c5068726c5f53
121
- # > URL: https://gist.github.com/f53546b3fd60a306da6c5068726c5f53
122
- # > Description: 17_webhook.js
120
+ # > <gist>137ec8aa8c62a44d6b25afe94c1572ce
121
+ # > URL: https://gist.github.com/137ec8aa8c62a44d6b25afe94c1572ce
122
+ # > Description:
123
123
# > Public: TRUE
124
- # > Created/Edited: 2020-01-08T17:02:55Z / 2020-01-08T17:02:55Z
125
- # > Files: 17_webhook.js
124
+ # > Created/Edited: 2020-01-09T18:01:41Z / 2020-01-09T18:01:42Z
125
+ # > Files: CalciteLib.java
126
126
# > Truncated?: FALSE
127
127
```
128
128
@@ -132,21 +132,21 @@ Since a certain date/time
132
132
``` r
133
133
gists(since = ' 2014-05-26T00:00:00Z' , per_page = 2 )
134
134
# > [[1]]
135
- # > <gist>d78aa1e84304254cda4629f7b5673d40
136
- # > URL: https://gist.github.com/d78aa1e84304254cda4629f7b5673d40
135
+ # > <gist>04b88f61e1e6c457354958c1e47c9bea
136
+ # > URL: https://gist.github.com/04b88f61e1e6c457354958c1e47c9bea
137
137
# > Description:
138
138
# > Public: TRUE
139
- # > Created/Edited: 2020-01-08T17:03:11Z / 2020-01-08T17:03:12Z
140
- # > Files: handsontable.full.min.js
139
+ # > Created/Edited: 2020-01-09T18:02:08Z / 2020-01-09T18:02:09Z
140
+ # > Files: maestra.blade.php
141
141
# > Truncated?: FALSE
142
142
# >
143
143
# > [[2]]
144
- # > <gist>f53546b3fd60a306da6c5068726c5f53
145
- # > URL: https://gist.github.com/f53546b3fd60a306da6c5068726c5f53
146
- # > Description: 17_webhook.js
144
+ # > <gist>137ec8aa8c62a44d6b25afe94c1572ce
145
+ # > URL: https://gist.github.com/137ec8aa8c62a44d6b25afe94c1572ce
146
+ # > Description:
147
147
# > Public: TRUE
148
- # > Created/Edited: 2020-01-08T17:02:55Z / 2020-01-08T17:02:55Z
149
- # > Files: 17_webhook.js
148
+ # > Created/Edited: 2020-01-09T18:01:41Z / 2020-01-09T18:01:42Z
149
+ # > Files: CalciteLib.java
150
150
# > Truncated?: FALSE
151
151
```
152
152
@@ -156,22 +156,22 @@ Request different types of gists, one of public, minepublic, mineall, or starred
156
156
``` r
157
157
gists(' minepublic' , per_page = 2 )
158
158
# > [[1]]
159
- # > <gist>7b8f60796af0588dfc73576d865e0661
160
- # > URL: https://gist.github.com/7b8f60796af0588dfc73576d865e0661
159
+ # > <gist>fc231d025d54c1a1cb3d37f9790b9166
160
+ # > URL: https://gist.github.com/fc231d025d54c1a1cb3d37f9790b9166
161
161
# > Description: gist gist gist
162
162
# > Public: TRUE
163
- # > Created/Edited: 2020-01-08T17:00:22Z / 2020-01-08T17:00:23Z
163
+ # > Created/Edited: 2020-01-08T17:39:13Z / 2020-01-08T17:39:15Z
164
164
# > Files: stuff.md, zoo.json
165
165
# > Truncated?: FALSE, FALSE
166
166
# >
167
167
# > [[2]]
168
- # > <gist>c7615e91cc895073cd4797f3611d2e76
169
- # > URL: https://gist.github.com/c7615e91cc895073cd4797f3611d2e76
170
- # > Description:
168
+ # > <gist>1f5ab3d71680e0d014ead0e8f2cc5b26
169
+ # > URL: https://gist.github.com/1f5ab3d71680e0d014ead0e8f2cc5b26
170
+ # > Description: gist gist gist
171
171
# > Public: TRUE
172
- # > Created/Edited: 2019-12-09T17:08:30Z / 2019-12-09T17:08:30Z
173
- # > Files: pleiades4d094996f27f.geojson
174
- # > Truncated?: FALSE
172
+ # > Created/Edited: 2020-01-08T17:38:24Z / 2020-01-08T17:38:25Z
173
+ # > Files: stuff.md, zoo.json
174
+ # > Truncated?: FALSE, FALSE
175
175
```
176
176
177
177
@@ -197,11 +197,11 @@ You can pass in files
197
197
``` r
198
198
file <- system.file(" examples" , " stuff.md" , package = " gistr" )
199
199
gist_create(file , description = ' a new cool gist' , browse = FALSE )
200
- # > <gist>073c7097bb0cad5722ebc13f1c37e4f8
201
- # > URL: https://gist.github.com/073c7097bb0cad5722ebc13f1c37e4f8
200
+ # > <gist>c0e374bc494c17cf0cd6bacc3e3ac146
201
+ # > URL: https://gist.github.com/c0e374bc494c17cf0cd6bacc3e3ac146
202
202
# > Description: a new cool gist
203
203
# > Public: TRUE
204
- # > Created/Edited: 2020-01-08T17:03:26Z / 2020-01-08T17:03:26Z
204
+ # > Created/Edited: 2020-01-09T18:02:40Z / 2020-01-09T18:02:40Z
205
205
# > Files: stuff.md
206
206
# > Truncated?: FALSE
207
207
```
@@ -228,11 +228,11 @@ numbers
228
228
229
229
[1] 0.3229318 0.5933054 0.7778408 0.3898947 0.1309717 0.7501378 0.3206379 0.3379005
230
230
' }, browse = FALSE )
231
- # > <gist>b3da1493d09ba15a5d9695b428219601
232
- # > URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
231
+ # > <gist>1af2ae5eeccb9fe88391952253f4b9ed
232
+ # > URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
233
233
# > Description:
234
234
# > Public: TRUE
235
- # > Created/Edited: 2020-01-08T17:03:28Z / 2020-01-08T17:03:28Z
235
+ # > Created/Edited: 2020-01-09T18:02:43Z / 2020-01-09T18:02:43Z
236
236
# > Files: code.R
237
237
# > Truncated?: FALSE
238
238
```
@@ -277,11 +277,11 @@ knit a local file
277
277
``` r
278
278
file <- system.file(" examples" , " stuff.Rmd" , package = " gistr" )
279
279
run(file , knitopts = list (quiet = TRUE )) %> % gist_create(browse = FALSE )
280
- # > <gist>cc76dd026ff004b2bc1ec5591d7528e8
281
- # > URL: https://gist.github.com/cc76dd026ff004b2bc1ec5591d7528e8
280
+ # > <gist>697796181d98bd0483301171f85f335e
281
+ # > URL: https://gist.github.com/697796181d98bd0483301171f85f335e
282
282
# > Description:
283
283
# > Public: TRUE
284
- # > Created/Edited: 2020-01-08T17:03:30Z / 2020-01-08T17:03:30Z
284
+ # > Created/Edited: 2020-01-09T18:02:44Z / 2020-01-09T18:02:44Z
285
285
# > Files: stuff.md
286
286
# > Truncated?: FALSE
287
287
```
@@ -346,9 +346,9 @@ gist_create(file, knit=TRUE, imgur_inject = TRUE)
346
346
gists()[[1 ]] %> % commits()
347
347
# > [[1]]
348
348
# > <commit>
349
- # > Version: 06e379abc23086722593c7026f8a169991bb9791
349
+ # > Version: 120981f13c1406f61f213775ce3677a23a7151e2
350
350
# > User: sckott
351
- # > Commited: 2020-01-08T17:03:27Z
351
+ # > Commited: 2020-01-09T18:02:42Z
352
352
# > Commits [total, additions, deletions]: [5,5,0]
353
353
```
354
354
@@ -392,11 +392,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
392
392
gists(what = " minepublic" )[[1 ]] %> %
393
393
add_files(file ) %> %
394
394
update()
395
- # > <gist>b3da1493d09ba15a5d9695b428219601
396
- # > URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
395
+ # > <gist>1af2ae5eeccb9fe88391952253f4b9ed
396
+ # > URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
397
397
# > Description:
398
398
# > Public: TRUE
399
- # > Created/Edited: 2020-01-08T17:03:28Z / 2020-01-08T17:03:34Z
399
+ # > Created/Edited: 2020-01-09T18:02:43Z / 2020-01-09T18:02:50Z
400
400
# > Files: alm.md, code.R
401
401
# > Truncated?: FALSE, FALSE
402
402
```
@@ -409,11 +409,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
409
409
gists(what = " minepublic" )[[1 ]] %> %
410
410
delete_files(file ) %> %
411
411
update()
412
- # > <gist>b3da1493d09ba15a5d9695b428219601
413
- # > URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
412
+ # > <gist>1af2ae5eeccb9fe88391952253f4b9ed
413
+ # > URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
414
414
# > Description:
415
415
# > Public: TRUE
416
- # > Created/Edited: 2020-01-08T17:03:28Z / 2020-01-08T17:03:36Z
416
+ # > Created/Edited: 2020-01-09T18:02:43Z / 2020-01-09T18:02:52Z
417
417
# > Files: code.R
418
418
# > Truncated?: FALSE
419
419
```
@@ -432,7 +432,7 @@ gists()[[1]] %>% browse()
432
432
433
433
``` r
434
434
gists()[[1 ]] %> % embed()
435
- # > [1] "<script src=\"https://gist.github.com/sckott/b3da1493d09ba15a5d9695b428219601 .js\"></script>"
435
+ # > [1] "<script src=\"https://gist.github.com/sckott/1af2ae5eeccb9fe88391952253f4b9ed .js\"></script>"
436
436
```
437
437
438
438
### List forks
@@ -469,12 +469,12 @@ Returns a `gist` object
469
469
``` r
470
470
g <- gists()
471
471
(forked <- g [[ sample(seq_along(g ), 1 ) ]] %> % fork())
472
- # > <gist>2052cabf87af7facf353df7fe0d83ab8
473
- # > URL: https://gist.github.com/2052cabf87af7facf353df7fe0d83ab8
474
- # > Description: Fetch company details with theirs posts & comments
472
+ # > <gist>93c7894c4eb5b0b9fcfaa1d223d6b46e
473
+ # > URL: https://gist.github.com/93c7894c4eb5b0b9fcfaa1d223d6b46e
474
+ # > Description: fsadfds
475
475
# > Public: TRUE
476
- # > Created/Edited: 2020-01-08T17 :03:42Z / 2020-01-08T17 :03:42Z
477
- # > Files: company.js
476
+ # > Created/Edited: 2020-01-09T18 :03:00Z / 2020-01-09T18 :03:00Z
477
+ # > Files: fsdfas
478
478
# > Truncated?: FALSE
479
479
```
480
480
@@ -503,7 +503,7 @@ gist_create(code = json, filename = "pelias_test.geojson")
503
503
504
504
And here's that [ gist] ( https://gist.github.com/sckott/017214637bcfeb198070 )
505
505
506
- ![ pelias img] ( inst/img /gistr_ss.png)
506
+ ![ pelias img] ( man/figures /gistr_ss.png)
507
507
508
508
## Meta
509
509
0 commit comments