find_emoji: Find emoji

Description Usage Arguments Value Examples

View source: R/remoji.R

Description

Find emoji by alias, tag or full name. grep is used for the match, allowing some flexibility.

Usage

1
2
3
4
find_emoji(str, type = c("alias", "tag", "description"), fixed = FALSE,
  approximate = FALSE)

list_emoji(type = c("alias", "tag", "description"))

Arguments

str

String to search for

type

Field to look in - tag, alias or description

fixed

Use fixed string search? The default is a regular expression.

approximate

Use approximate string matches?

Value

Vector of possible aliases. These can be fed into emoji or used in string substitution/interpolation for sub_emoji.

Examples

1
2
3
4
find_emoji("person")
find_emoji("person", "description")
emoji(find_emoji("person", "description"))
message(emoji(find_emoji("person", "description"), pad=TRUE))

richfitz/remoji documentation built on May 27, 2019, 8:29 a.m.