Work with 'GitHub' 'Gists'

Work with 'GitHub' 'gists' from 'R' (e.g., < https://en.wikipedia.org/wiki/GitHub#Gist>, < https://docs.github.com/en/github/writing-on-github/creating-gists/>). A 'gist' is simply one or more files with code/text/images/etc. This package allows the user to create new 'gists', update 'gists' with new files, rename files, delete files, get and delete 'gists', star and 'un-star' 'gists', fork 'gists', open a 'gist' in your default browser, get embed code for a 'gist', list 'gist' 'commits', and get rate limit information when 'authenticated'. Some requests require authentication and some do not. 'Gists' website: < https://gist.github.com/>.


gistr

cran checks R-check codecov.io rstudio mirror downloads cran version

gistr is a light interface to GitHub's gists for R.

Get started with the docs: https://docs.ropensci.org/gistr

See also:

  • git2r an R client for the libgit2 C library by Stefan Widgren
  • gert Simple git client for R by Jeroen Ooms
  • gistfo for turning your untitled RStudio tabs into gists!

Install

Stable version from CRAN

install.packages("gistr")

Or dev version from GitHub.

remotes::install_github("ropensci/gistr")
library("gistr")

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for gistr in R doing citation(package = 'gistr')
  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

rofooter

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gistr")

0.9.0 by Scott Chamberlain, 6 years ago


https://github.com/ropensci/gistr (devel), https://docs.ropensci.org/gistr (website)


Report a bug at https://github.com/ropensci/gistr/issues


Browse source code at https://github.com/cran/gistr


Authors: Scott Chamberlain [aut, cre] , Ramnath Vaidyanathan [aut] , Karthik Ram [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports jsonlite, crul, httr, magrittr, assertthat, knitr, rmarkdown, dplyr

Suggests git2r, testthat


Suggested by LDAvis, animint2, geojsonio.


See at CRAN