Unexpected input error when rendering reprex

Hello everyone,

From time to time when generating a reprex using reprex::reprex() I get the following strange error:

> reprex::reprex() 
ℹ Rendering reprex...
Error in parse(text = x, keep.source = TRUE) : 
  <text>:19:2: unexpected input
18: newDF
19: 됀。
     ^

Unfortunately I cannot recreate the issue easily here for you, as it mostly only happens the first time I try to create the reprex. If i run the function again after the error it will render without issue.

Does anyone have an idea what causes this, and especially what the meaning is of the strange Korean character that appears (I do not even know Korean :slight_smile: )

Thanks!
PJ

Odd. Might be given non-UTF8 encoded argument that it is trying to cast to UTF8.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.