Skip to content
A R package for giphy API
Branch: master
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.
R Update API key since the old public API key expired Apr 30, 2019
img
inst typo May 1, 2017
man Fixed an error caused by recent API change Nov 14, 2018
.Rbuildignore prepare for CRAN release; add new features Mar 21, 2017
.gitignore
DESCRIPTION Update API key since the old public API key expired Apr 30, 2019
LICENSE
NAMESPACE added paneviewer to namespace Nov 14, 2018
README.md Add a note in README Nov 14, 2018
giphyr.Rproj Add gif_search function Aug 5, 2016

README.md

giphyr

CRAN_version CRAN_download

Want to add some GIFs to your awesome rmarkdown presentation?

exciting

Introduction

I guess this is one of the least productive R packages in our community...

No more to say. Enjoy more GIFs in your Rmarkdown documents.

Screenshot

Install

install.packages("giphyr")

# For dev version
devtools::install_github("haozhu233/giphyr")

Usage

If you are using a recent version of RStudio (v0.99.878 or later), you should be able to find an "Addins" dropdown menu on the toolbar. This package comes with a RStudio Addin called "Add GIFs", which has a user friendly interface you can use to browse, download or insert GIFs or links to a rmarkdown document.

For useRs who are not using RStudio, I'm planning to include a stand-alone shiny app that can be run directly in the console in the next release.

Note

I'm currently using the public beta key for the Giphy API. They say there is a rate limit. I will request a Production key if needed.

Also, I noticed that after GIPHY made some API change recently (the link is no longer point directly to a .gif file but a web page), GIF images can't be seen correctly on some old versions of RStudio. You might need to update your RStudio version if it occurs to you.

You can’t perform that action at this time.