Package 'ermoji'

Title: RStudio Addin to Search and Copy Emoji
Description: RStudio addin to search through emoji and copy the emoji name, unicode string or glyph to the clipboard.
Authors: Garrick Aden-Buie [aut, cre]
Maintainer: Garrick Aden-Buie <[email protected]>
License: MIT + file LICENSE
Version: 0.2.0
Built: 2024-09-05 02:51:36 UTC
Source: https://github.com/gadenbuie/ermoji

Help Index


Emoji Picker

Description

An emoji picker gadget that lets you search and find emoji and insert either the unicode, HTML, or emo::ji() versions of the emoji. Built using the Emoji Button JavaScript library.

Usage

emoji_picker(gadget = TRUE)

Arguments

gadget

If TRUE the app is run as a gadget, otherwise it's run as a standalone app.

Value

A list with the emoji, the emoji name and the html entity.


Convert Emoji to HTML

Description

Uses emo::ji() to look up emoji, but return the escaped HTML.

Usage

emoji2html(x, copy = clipr::clipr_available())

Arguments

x

A search term passed to emo::ji() or the result of emo::ji().

copy

Should the result be copied to the clipboard?


The ermoji emoji gadget

Description

Opens a miniUI based Shiny gadget in the RStudio Viewer pane with a searchable table of emoji. Select a row and click the copy desired button.

Usage

ermoji_gadget(clipout = clipr::clipr_available(), ...)

ermoji_shiny(clipout = clipr::clipr_available(), ...)

Arguments

clipout

Should the gadget attempt to write to the clipboard?

...

Ignored at this time

Value

nothing