r-lib / debugme

Easy and efficient debugging for R packages
https://r-lib.github.io/debugme/
Other
147 stars 10 forks source link

Dynamic messages #2

Closed gaborcsardi closed 7 years ago

gaborcsardi commented 7 years ago

With sg like

"!DEBUG reading file `filename`"
"!INFO  reading files `paste(filenames, collapse = ", ")`"

I.e. all back-ticked chunks are simply converted to code, and their return value is put in the string.