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

[pt] fix non distinct names in wb_data object #911

Merged
merged 1 commit into from Jan 24, 2024
Merged

Conversation

JanMarvin
Copy link
Owner

works now. first part of #909

library(openxlsx2)
dd <- data.frame(Foo = 1, foo = 2, bar = 2)
wb <- wb_workbook()$add_worksheet()$add_data(x = dd)
pt <- wb_data(wb)
wb$add_pivot_table(pt, cols = "Foo", data = "bar")
if (interactive()) wb$open()

@JanMarvin JanMarvin merged commit 94935d7 into main Jan 24, 2024
9 checks passed
@JanMarvin JanMarvin deleted the pt_fix_dups branch January 24, 2024 22:22
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.

None yet

1 participant