Skip to content

Dev new installation script dep handling mac os#19

Merged
DatViseR merged 8 commits into
masterfrom
Dev_new_installation_script_dep_handling_MacOS
Jul 8, 2025
Merged

Dev new installation script dep handling mac os#19
DatViseR merged 8 commits into
masterfrom
Dev_new_installation_script_dep_handling_MacOS

Conversation

@DatViseR
Copy link
Copy Markdown
Owner

@DatViseR DatViseR commented Jul 8, 2025

This pull request introduces conditional loading for the Cairo and webshot2 libraries in app.R. These changes improve the application's flexibility by allowing it to function without these libraries while providing enhanced features when they are available. Additionally, detailed comments explain the benefits and potential issues related to these libraries, particularly for macOS users.

Conditional library loading:

  • Cairo Graphics Library:

    • Added conditional loading for Cairo to enhance plot rendering quality when available. Includes detailed comments about its benefits (e.g., better anti-aliasing, enhanced export capabilities) and potential installation issues, especially on macOS.
  • WebShot2 Library:

    • Added conditional loading for webshot2 to enable screenshot capabilities when available. Includes comments explaining its role in exporting GT tables as HTML and the fallback behavior when webshot2 is unavailable.

@DatViseR DatViseR merged commit e1fc65d into master Jul 8, 2025
1 check passed
@DatViseR DatViseR deleted the Dev_new_installation_script_dep_handling_MacOS branch July 8, 2025 11:17
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

Successfully merging this pull request may close these issues.

1 participant