Skip to content

Commit 5c3503b

Browse files
committed
added information on Webshot2 dependency - optional for disabled gt tables pdf export functionality
1 parent 37e7e6e commit 5c3503b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ library(gridExtra)
4949
# WebShot2 enables web page screenshots and may depend on Cairo availability
5050
# Falls back gracefully if not available
5151

52+
# This version of the app exports GT tables as HTML files and does not depend on
53+
# webshot2. PDF export depends on webshot2 which is not working in the posit connect cloud - that is why
54+
# export was changed to HTML export. You can enable
55+
#pdf export by modifying the downloadHandler() code for gt tables before installation in your private server
56+
5257
if (requireNamespace("webshot2", quietly = TRUE)) {
5358
library(webshot2)
5459
message("✓ WebShot2 loaded - screenshot capabilities available")

0 commit comments

Comments
 (0)