Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdf version of report will not build from pagedown::chrome_print #51

Open
NewGraphEnvironment opened this issue Mar 22, 2024 · 0 comments

Comments

@NewGraphEnvironment
Copy link
Owner

NewGraphEnvironment commented Mar 22, 2024

We can break the report into chunks and test to see where the issue is. Lots of formatting needed for the pdf version to present the table data properly anyway. Issue could be related to unrulely tables actually so the formatting necessary for view-ability could resolve this

>   # print to pdf
>   pagedown::chrome_print(
+     paste0(getwd(), '/', filename_html, '.html'),
+     output = paste0('docs/', filename_html, '.pdf'),
+     timeout = 360
+   )
Warning: A runtime exception has occured while executing JavaScript
  Runtime exception message:
    ReferenceError: $ is not defined
    at http://127.0.0.1:5558/Restoration_Neexdzii_Kwah_2024.html:32159:9
Warning: A runtime exception has occured while executing JavaScript
  Runtime exception message:
    ReferenceError: jQuery is not defined
    at http://127.0.0.1:5558/Restoration_Neexdzii_Kwah_2024.html:33062:3
Error in force(expr) : 
  Failed to generate output in 360 seconds (timeout).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant