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

backspace characters in message() cause errors for pdf output #138

Open
kwstat opened this issue Apr 11, 2022 · 1 comment
Open

backspace characters in message() cause errors for pdf output #138

kwstat opened this issue Apr 11, 2022 · 1 comment

Comments

@kwstat
Copy link

kwstat commented Apr 11, 2022

When I have an Rmd document with a chunk like:

p_unload(dplyr)

The p_unload function inserts a backspace character "\b" into the message. When the Rmd is converted to pdf, this error is shown:

Package inputenc Error: Unicode character (U+0008)

Suggested fix: Remove "\b" everywhere in message()s.

@Dasonk
Copy link
Collaborator

Dasonk commented Apr 15, 2022

Interesting. I didn't think we had backspaces hardcoded but it appears we do

paste0("\b", paste(toUnloadButCantUnload, collapse = ", ")),

I'll try to look at this over the weekend and see what - if anything - removing the backspaces messes up.

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

No branches or pull requests

2 participants