yonicd / carbonate

carbon.js for R

Home Page:https://yonicd.github.io/carbonate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copy tinyurl to clipboard

LucyMcGowan opened this issue · comments

What do you think about a function that would let you either print the tinyurl or copy it to the clipboard (to include in a tweet)?

you can build the tinyurl regardless of creating the image. you could grab that and pipe it into {twitteR}. (I didnt want to add any strong imports to the package)

saying that, if you have any ideas on improving upon the current workflow I think that would be great.

sorry i take that back, it's a private method

what i really wanted to do originally was add option to port the image directly to the clipboard and move it to a post, but I think that it is a bridge too far for clipr.

here you go. you can test it out 429aad1 before i PR it :)

Just gave it a spin 🌀, looks great!

Thanks for the idea.