How to enable emoji in Rmarkdown to show up after publishing in Shiny-Server

Viewed 1880

I have the following Rmarkdown code, which uses Hadley's emo(ji) package.

---
title: "My First Shiny"
runtime: shiny
output: 
  flexdashboard::flex_dashboard:
    orientation: rows
    vertical_layout: scroll
---


```{r setup, include=FALSE}
```


Rows {data-height=800}
-----------------------------------------------------------------------

### Section1 `r strrep(emo::ji("heart_eyes_cat"), 5)`

Some text

In my Rstudio IDE it has no problem generating this:

enter image description here

As highligted in the image the emoji failed to show up in my local Shiny-server.

How can I enable it?

1 Answers
Related