Skip to content

Commit 0e9badc

Browse files
committed
move vignette and readme image to man/figures
1 parent b0ec894 commit 0e9badc

File tree

4 files changed

+55
-55
lines changed

4 files changed

+55
-55
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ gist_create(code = json, filename = "pelias_test.geojson")
355355

356356
And here's that [gist](https://gist.github.com/sckott/017214637bcfeb198070)
357357

358-
![pelias img](inst/img/gistr_ss.png)
358+
![pelias img](man/figures/gistr_ss.png)
359359

360360
## Meta
361361

README.md

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ update(add_files(gists(what = "minepublic")[[1]], file))
9696
```r
9797
rate_limit()
9898
#> Rate limit: 5000
99-
#> Remaining: 4897
100-
#> Resets in: 55 minutes
99+
#> Remaining: 4999
100+
#> Resets in: 60 minutes
101101
```
102102

103103
### List gists
@@ -108,21 +108,21 @@ Limiting to a few results here to keep it brief
108108
```r
109109
gists(per_page = 2)
110110
#> [[1]]
111-
#> <gist>d78aa1e84304254cda4629f7b5673d40
112-
#> URL: https://gist.github.com/d78aa1e84304254cda4629f7b5673d40
111+
#> <gist>04b88f61e1e6c457354958c1e47c9bea
112+
#> URL: https://gist.github.com/04b88f61e1e6c457354958c1e47c9bea
113113
#> Description:
114114
#> 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
117117
#> Truncated?: FALSE
118118
#>
119119
#> [[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:
123123
#> 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
126126
#> Truncated?: FALSE
127127
```
128128

@@ -132,21 +132,21 @@ Since a certain date/time
132132
```r
133133
gists(since='2014-05-26T00:00:00Z', per_page = 2)
134134
#> [[1]]
135-
#> <gist>d78aa1e84304254cda4629f7b5673d40
136-
#> URL: https://gist.github.com/d78aa1e84304254cda4629f7b5673d40
135+
#> <gist>04b88f61e1e6c457354958c1e47c9bea
136+
#> URL: https://gist.github.com/04b88f61e1e6c457354958c1e47c9bea
137137
#> Description:
138138
#> 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
141141
#> Truncated?: FALSE
142142
#>
143143
#> [[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:
147147
#> 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
150150
#> Truncated?: FALSE
151151
```
152152

@@ -156,22 +156,22 @@ Request different types of gists, one of public, minepublic, mineall, or starred
156156
```r
157157
gists('minepublic', per_page = 2)
158158
#> [[1]]
159-
#> <gist>7b8f60796af0588dfc73576d865e0661
160-
#> URL: https://gist.github.com/7b8f60796af0588dfc73576d865e0661
159+
#> <gist>fc231d025d54c1a1cb3d37f9790b9166
160+
#> URL: https://gist.github.com/fc231d025d54c1a1cb3d37f9790b9166
161161
#> Description: gist gist gist
162162
#> 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
164164
#> Files: stuff.md, zoo.json
165165
#> Truncated?: FALSE, FALSE
166166
#>
167167
#> [[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
171171
#> 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
175175
```
176176

177177

@@ -197,11 +197,11 @@ You can pass in files
197197
```r
198198
file <- system.file("examples", "stuff.md", package = "gistr")
199199
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
202202
#> Description: a new cool gist
203203
#> 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
205205
#> Files: stuff.md
206206
#> Truncated?: FALSE
207207
```
@@ -228,11 +228,11 @@ numbers
228228
229229
[1] 0.3229318 0.5933054 0.7778408 0.3898947 0.1309717 0.7501378 0.3206379 0.3379005
230230
'}, browse=FALSE)
231-
#> <gist>b3da1493d09ba15a5d9695b428219601
232-
#> URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
231+
#> <gist>1af2ae5eeccb9fe88391952253f4b9ed
232+
#> URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
233233
#> Description:
234234
#> 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
236236
#> Files: code.R
237237
#> Truncated?: FALSE
238238
```
@@ -277,11 +277,11 @@ knit a local file
277277
```r
278278
file <- system.file("examples", "stuff.Rmd", package = "gistr")
279279
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
282282
#> Description:
283283
#> 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
285285
#> Files: stuff.md
286286
#> Truncated?: FALSE
287287
```
@@ -346,9 +346,9 @@ gist_create(file, knit=TRUE, imgur_inject = TRUE)
346346
gists()[[1]] %>% commits()
347347
#> [[1]]
348348
#> <commit>
349-
#> Version: 06e379abc23086722593c7026f8a169991bb9791
349+
#> Version: 120981f13c1406f61f213775ce3677a23a7151e2
350350
#> User: sckott
351-
#> Commited: 2020-01-08T17:03:27Z
351+
#> Commited: 2020-01-09T18:02:42Z
352352
#> Commits [total, additions, deletions]: [5,5,0]
353353
```
354354

@@ -392,11 +392,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
392392
gists(what = "minepublic")[[1]] %>%
393393
add_files(file) %>%
394394
update()
395-
#> <gist>b3da1493d09ba15a5d9695b428219601
396-
#> URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
395+
#> <gist>1af2ae5eeccb9fe88391952253f4b9ed
396+
#> URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
397397
#> Description:
398398
#> 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
400400
#> Files: alm.md, code.R
401401
#> Truncated?: FALSE, FALSE
402402
```
@@ -409,11 +409,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
409409
gists(what = "minepublic")[[1]] %>%
410410
delete_files(file) %>%
411411
update()
412-
#> <gist>b3da1493d09ba15a5d9695b428219601
413-
#> URL: https://gist.github.com/b3da1493d09ba15a5d9695b428219601
412+
#> <gist>1af2ae5eeccb9fe88391952253f4b9ed
413+
#> URL: https://gist.github.com/1af2ae5eeccb9fe88391952253f4b9ed
414414
#> Description:
415415
#> 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
417417
#> Files: code.R
418418
#> Truncated?: FALSE
419419
```
@@ -432,7 +432,7 @@ gists()[[1]] %>% browse()
432432

433433
```r
434434
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>"
436436
```
437437

438438
### List forks
@@ -469,12 +469,12 @@ Returns a `gist` object
469469
```r
470470
g <- gists()
471471
(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
475475
#> 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
478478
#> Truncated?: FALSE
479479
```
480480

@@ -503,7 +503,7 @@ gist_create(code = json, filename = "pelias_test.geojson")
503503

504504
And here's that [gist](https://gist.github.com/sckott/017214637bcfeb198070)
505505

506-
![pelias img](inst/img/gistr_ss.png)
506+
![pelias img](man/figures/gistr_ss.png)
507507

508508
## Meta
509509

File renamed without changes.

vignettes/gistr.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ gist_create(code = json, filename = "pelias_test.geojson")
506506

507507
And here's that gist: [https://gist.github.com/sckott/017214637bcfeb198070](https://gist.github.com/sckott/017214637bcfeb198070)
508508

509-
![](img/gistr_ss.png)
509+
![](man/figures/gistr_ss.png)
510510

511511
_Round-trip storage of a data frame_
512512

0 commit comments

Comments
 (0)