How to stop reprex from outputting curly quotes, em dashes, and other smart typography?
14:02 20 Nov 2026

When I write explanations with #' lines in a reprex, it changes the text to "smart" typography. Here is a small example:

#' It's a "simple" example... with a range 1--10 and a pause --- like this.

Which gives me:

It’s a “simple” example… with a range 1–10 and a pause — like this.

Created on 2026-11-19 with reprex v2.1.1

The straight apostrophe and quotes became curly ones, ... became …, -- became an en dash, --- became an em dash, etc.

How can I prevent reprex from doing this?

r unicode pandoc reprex