pagedown icon indicating copy to clipboard operation
pagedown copied to clipboard

write a vignette on chrome_print and shiny

Open cderv opened this issue 5 years ago • 6 comments

From https://github.com/rstudio/pagedown/pull/97#issuecomment-480575036, @colinfay offered to write a vignette on the feature chrome_print in a shiny app.

Are you still interested ?

cderv avatar Jul 05 '19 05:07 cderv

I feel such a vignette could be valuable. Here are some recent questions on this topic
https://github.com/rstudio/pagedown/issues/113#issuecomment-508789885
https://github.com/rstudio/pagedown/issues/91#issuecomment-558331313
and
https://community.rstudio.com/t/error-after-using-pagedown-to-generate-a-pdf-from-html-in-a-shinyapp/45999?u=rlesur

RLesur avatar Nov 30 '19 12:11 RLesur

If anyone (@cderv, @ColinFay, @r2evans, @smsenkier or anyone else) is interesting in contributing, PR are welcome! Thanks! I do not know enough about Shiny to write this vignette.

RLesur avatar Nov 30 '19 12:11 RLesur

Can do, but I'm short on time in the upcoming weeks. When would you want it to be written?

ColinFay avatar Nov 30 '19 15:11 ColinFay

Thanks a lot! There is no due date (there's no deadline for volunteers 😄). I just feel that chrome_print() is increasingly being used with Shiny.

RLesur avatar Nov 30 '19 17:11 RLesur

I have written a demo Shiny application here: https://github.com/RLesur/chrome_print_shiny This application is deployed on shinyapps.io here: https://romain-lesur.shinyapps.io/chrome_print_shiny/.

I don't think I'll have time to write the vignette in the next weeks but do not hesitate to initiate a contribution.

RLesur avatar Apr 30 '21 17:04 RLesur

Does the app still work for you @RLesur? I get this:

Screen Shot 2022-03-08 at 9 51 45 am

The console says Unchecked runtime.lastError: The message port closed before a response was received.

UPDATE: For me it runs fine locally and also on my own shinyapps site.

shirdekel avatar Mar 07 '22 22:03 shirdekel