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

Use empty table as starting point for a gt table #1376

Merged
merged 21 commits into from
Jul 18, 2023
Merged

Conversation

rich-iannone
Copy link
Member

@rich-iannone rich-iannone commented Jul 14, 2023

This allows for the use of an empty table as the starting point for a gt table. This can be used in conjunction with cols_add() and rows_add() to build a table piece-by-piece in specific workflows/settings. What constitutes empty tables can be any of: 0 x 0 tables, 0 x n tables (no rows, some columns), or n x 0 tables (some rows, no columns; treated the same as 0 x 0 tables).

The behavior of the cols_add() and rows_add() functions has been slightly altered to be more permissive when used with empty tables of the various types.

@netlify
Copy link

netlify bot commented Jul 14, 2023

Deploy Preview for quarto-gt-examples failed.

Name Link
🔨 Latest commit f5c9207
🔍 Latest deploy log https://app.netlify.com/sites/quarto-gt-examples/deploys/64b6108489d251000847768b

@rich-iannone rich-iannone marked this pull request as ready for review July 18, 2023 04:34
@rich-iannone rich-iannone merged commit d1e11e9 into master Jul 18, 2023
@rich-iannone rich-iannone deleted the use-empty-table branch July 18, 2023 04:39
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