pointblank icon indicating copy to clipboard operation
pointblank copied to clipboard

error \uxxxx sequences not supported inside backticks

Open schmid07 opened this issue 3 years ago â€ĸ 0 comments

Description

When running code with emojis inside backticks (as shown in the info_tabular function below, I get the following error: "error \uxxxx sequences not supported inside backticks". Interestingly, the emoji works in other sections when not surrounded by backticks as shown in the "label" argument of the code below.

UPDATE: The following code works when running on a Mac so appears to be something with Windows. Any idea why it wouldn't run in Windows?

Reproducible example

informant_pp <- 
  create_informant(
    tbl = ~ palmerpenguins::penguins,
    label = "The dataset from the **palmerpenguins** 🔄."
  ) %>% 
  info_tabular(`🔄 updates` = "🔄 This table is not regularly updated.")

informant_pp

Expected result

To have the emoji display in info_tabular section when I print informant_pp; instead I get the following error: Error: \uxxxx sequences not supported inside backticks (line 7).

Session info

R version 4.1.3 (2022-03-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

Thanks in advance, great work on development of pointblank, really useful! Let me know if any other info needed. Bill

schmid07 avatar Dec 08 '22 20:12 schmid07