I'm trying to generate an image from a table generated with the package Reactable, but the table inside the picture is shrinking. I've tried some args like vwidth and cliprect, but it didn't work.
If I open the HTML that was generated in the process, the table is ok.
Below there is a simple code to demonstrate it. (this behaviour happens with differents reactables)
I'm trying to generate an image from a table generated with the package Reactable, but the table inside the picture is shrinking. I've tried some args like vwidth and cliprect, but it didn't work.
If I open the HTML that was generated in the process, the table is ok.
Below there is a simple code to demonstrate it. (this behaviour happens with differents reactables)
This is the picture generated in the Rstudio Viewer:
This is the image generated by webshot:
Below there is an even simpler example with the same issue.
Image from Rstudio
Image from webshot
Thanks, Eduardo