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

ANSI color codes showing up in rlang backtraces #238

Closed
jennybc opened this issue Jan 25, 2019 · 0 comments
Closed

ANSI color codes showing up in rlang backtraces #238

jennybc opened this issue Jan 25, 2019 · 0 comments

Comments

@jennybc
Copy link
Member

jennybc commented Jan 25, 2019

f <- function() g()
g <- function() h()
h <- function() rlang::abort("foo")
f()
#> Error: foo
#> Backtrace:
#> �[90m    �[39m█
#> �[90m 1. �[39m└─global::f()
#> �[90m 2. �[39m  └─global::g()
#> �[90m 3. �[39m    └─global::h()

Created on 2019-01-25 by the reprex package (v0.2.1)

This is due to crayon. Probably https://github.com/r-lib/crayon/issues/80.

jennybc added a commit that referenced this issue Jan 25, 2019
jennybc added a commit that referenced this issue Jan 25, 2019
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

1 participant