rstudio / pagedown

Paginate the HTML Output of R Markdown with CSS for Print
https://pagedown.rbind.io
Other
894 stars 127 forks source link

Have a function to ask user to run to help us debug ? #238

Open cderv opened 3 years ago

cderv commented 3 years ago

Following https://github.com/rstudio/pagedown/issues/235#issuecomment-896776133, it seems to me that we often asked the same kind of debugging information, specific to chrome and pagedown.

This could be something like pagedown::chrome_debug() or pagedown::chrome_sitrep() or pagedown::debug_infos() which would run the usual command we generally ask user to run.

What do you think ?

We could also use xfun::session_info("pagedown") trick but we generally don't need the R and its packages informations and only chrome information.

This is related to #237 to have helpers around to ease our work.