https://github.com/maelle/reprex_demo
Experiments around sharing reprexes on Gist and Twitter
https://github.com/maelle/reprex_demo
Last synced: 7 days ago
JSON representation
Experiments around sharing reprexes on Gist and Twitter
- Host: GitHub
- URL: https://github.com/maelle/reprex_demo
- Owner: maelle
- Created: 2018-09-29T14:26:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T16:59:08.000Z (over 6 years ago)
- Last Synced: 2024-12-22T05:41:37.501Z (2 months ago)
- Language: HTML
- Homepage:
- Size: 230 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - maelle/reprex_demo - Experiments around sharing reprexes on Gist and Twitter (HTML)
README
# reprex_demo
My experiments to share reprexes i.e. output from [`reprex`](https://reprex.tidyverse.org/) on Gist and on Twitter. For quick demos and show-off and for asking questions outside of platforms (e.g. not on a forum).
* Gist is good because it has comments, compared to say sharing on Slack and threading.
* Twitter is convenient for advertising a question or demo, in my opinion the perfect combo is nice screenshot + link to the online home of the code. I prefer an URL to a gist than to a Carbonate page.
[script](script.R)
# Ideas of workflow
* `reprex venue = "md"` + paste in unnamed file + [`gistfo`](https://github.com/MilesMcBain/gistfo)
* `reprex venue = "md"` with `outfile` + [`gistr::gist_create`](https://github.com/ropensci/gistr)
* one of the above, and `reprex venue = "r"` + [`carbonate`](https://github.com/yonicd/carbonate) to obtain a tweetable screenshot. The URL I'd use in the tweet would be the gist URL, not the carbonate URL.