.to.ol
The goal of dev.to.ol
is to help R users publish to dev.to
Installation
You can install the dev.to.ol from github with
remotes
:
remotes::install.github("DaveParr/dev.to.ol")
Workflow
Create your article
The create_new_article
function will give you the front mattter
boilerplate for an article .Rmd
file. Optionally supplying a file name
will create a new file with the front matter at the start.
create_new_article(title = "my title")
Write your article!
This is the fun bit. Mark your great ideas down in an .Rmd
!
Post your article
Once the .Rmd
is written, you can post it to dev.to with
post_new_article
post_new_article("./my-great-article.Rmd")
Check your articles
There are two functions to check the posted articles on dev.to, published and unpublished. Both will return a ‘tidy’ data set by default.
get_users_articles()
Using DEVTO in .Renviron
The API returned the expected success
…