Skip to content

Commit ba1c3ea

Browse files
committed
fixed incorrect emoji download link
1 parent 7e56d77 commit ba1c3ea

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ License: GPL-3
1515
Imports: stringi, qdapRegex, readr, tokenizers, data.table, ggplot2, anytime, mgsub, stats, qdap, ggwordcloud, dplyr, ragg, checkmate, visNetwork, lubridate, methods, leaflet
1616
Encoding: UTF-8
1717
LazyData: true
18-
RoxygenNote: 7.3.2
18+
RoxygenNote: 7.3.3
1919
Suggests: extrafont, tm,
2020
testthat (>= 3.0.0)
2121
Config/testthat/edition: 3

R/download_emoji.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
# Function to scrape an emoji dictionary from https://www.unicode.org/
24-
download_emoji <- function(unicode_page = "https://www.unicode.org/Public/draft/emoji/emoji-test.txt",
24+
download_emoji <- function(unicode_page = "https://www.unicode.org/Public/emoji/latest/emoji-test.txt",
2525
delete_header = 32,
2626
nlines = -1L) {
2727

R/plot_emoji.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ plot_emoji <- function(data,
345345
theme(axis.text.x = element_text(angle = 90, hjust = 0.95, vjust = 0.2), legend.position = "none") +
346346
geom_label(aes(label = Glyph),
347347
family = font_family,
348-
label.size = NA,
348+
linewidth = NA,
349349
fill = alpha(c("white"),0),
350350
size = emoji_size)
351351

@@ -395,7 +395,7 @@ plot_emoji <- function(data,
395395
theme(legend.title = element_text("Emoji")) +
396396
geom_label(aes(label = Glyph, fill = Emoji),
397397
family = font_family,
398-
label.size = NA,
398+
linewidth = NA,
399399
fill = alpha(c("white"),0),
400400
size = emoji_size,
401401
position = position_dodge2(width = 0.9, preserve = "single"))

man/download_emoji.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/Rplots.pdf

528 Bytes
Binary file not shown.

tests/testthat/test-WhatsR-tests.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test_that("Updating emoji dictionary",{
88
emoji_dictionary <- tryCatch(
99
{
1010

11-
# downloading emoji dictionary
11+
# downloading emoji dictionary
1212
emoji_dictionary <- download_emoji(nlines = 50)
1313

1414
},

0 commit comments

Comments
 (0)