Experiments around sharing reprexes on Gist and Twitter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo_carbonate_reprex_files/figure-markdown_strict
demo_reprex_files/figure-markdown_strict
.gitignore
README.md
demo_carbonate_reprex.R
demo_carbonate_reprex.html
demo_carbonate_reprex.md
demo_carbonate_reprex.utf8.md
demo_carbonate_reprex_rendered.R
demo_reprex.R
demo_reprex.html
demo_reprex.md
demo_reprex.utf8.md
myfile.png
reprex_demo.Rproj
script.R

README.md

reprex_demo

My experiments to share reprexes i.e. output from reprex 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

Ideas of workflow

  • reprex venue = "md" + paste in unnamed file + gistfo

  • reprex venue = "md" with outfile + gistr::gist_create

  • one of the above, and reprex venue = "r" + carbonate to obtain a tweetable screenshot. The URL I'd use in the tweet would be the gist URL, not the carbonate URL.