maelle / reprex_demo

Experiments around sharing reprexes on Gist and Twitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Experiments around sharing reprexes on Gist and Twitter


Languages

Language:HTML 99.9%Language:R 0.1%