Skip to content

Conversation

@hedsnz
Copy link
Contributor

@hedsnz hedsnz commented Sep 9, 2022

Update jszip to 3.10.1 to address #1016.

Source of jszip: https://github.com/Stuk/jszip/blob/main/dist/jszip.min.js

I'm not really clear on how jszip is called internally, so I haven't written any sophisticated tests, just verifying that the buttons are rendered correctly. And just verified manually that the buttons are working correctly by downloading the .xlsx file as per below:

datatable(iris, extensions = "Buttons", options = list(
    dom = "Bt", buttons = c("excel", "csv", "pdf"))
)

Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Thank you!

I'll merge this PR for now. This change really needs to be done in the upstream DataTables library. We are not using the latest version of DataTables yet. I wonder if they have updated jszip there.

@yihui yihui merged commit f637cbb into rstudio:main Sep 9, 2022
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.

2 participants