r-lib / debugme

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

DEBUGME_OUTPUT_DIR #19

Closed krlmlr closed 6 years ago

krlmlr commented 7 years ago

Useful for revdepcheck, again. Ideas?

gaborcsardi commented 7 years ago

You can log to a file AFAIR, that might help here.

krlmlr commented 7 years ago

I see, the DEBUGME_OUTPUT_FILE env var. How about also supporting DEBUGME_OUTPUT_DIR that would use a separate file per process ID?

gaborcsardi commented 7 years ago

How about using a single file, but putting the process id in it? Then we need to do locking, though.

krlmlr commented 7 years ago

For revdepcheck I find separate output per process ID much more useful, plus we don't need to lock ;-)

krlmlr commented 6 years ago

Thanks for implementing this!