Closed hadley closed 4 years ago
Works like inform() but also tells you where the message came from. Fixes #127.
I have zero clues about how to test it, but this gives you an idea of what the output will look like:
f <- function() g() g <- function() h() h <- function() inform_where("Bad things happened") #> Bad things happened #> █ #> 1. └─global::f() #> 2. └─global::g() ~/Desktop/test.R:2:5 #> 3. └─global::h() ~/Desktop/test.R:3:5
Works like inform() but also tells you where the message came from. Fixes #127.
I have zero clues about how to test it, but this gives you an idea of what the output will look like: