Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error \uxxxx sequences not supported inside backticks #452

Open
schmid07 opened this issue Dec 8, 2022 · 0 comments
Open

error \uxxxx sequences not supported inside backticks #452

schmid07 opened this issue Dec 8, 2022 · 0 comments
Assignees
Milestone

Comments

@schmid07
Copy link

schmid07 commented Dec 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants