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

Second try for rowids #550

Merged
merged 8 commits into from
May 10, 2022
Merged

Second try for rowids #550

merged 8 commits into from
May 10, 2022

Conversation

nbenn
Copy link
Contributor

@nbenn nbenn commented May 10, 2022

Closes #260.

Copy link
Member

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

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

Can you please also add a paragraph in the description/details of the documentation, and perhaps also in https://pillar.r-lib.org/articles/extending.html ?

tests/testthat/test-rowid.R Outdated Show resolved Hide resolved
R/rowid-data.R Outdated Show resolved Hide resolved
R/ctl_new_pillar.R Outdated Show resolved Hide resolved
R/ctl_new_pillar.R Outdated Show resolved Hide resolved
ctl_new_rowid_pillar.tbl <- function(controller, x, width, has_row_id, ..., title = NULL) {
"!!!!DEBUG ctl_new_rowid_pillar.tbl(`v(width)`, `v(title)`)"

template <- names(ctl_new_pillar(controller, vector(), width, title = title))
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

Copy link
Member

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

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

Thanks, let's move the new vignette section before "Body".

@@ -16,6 +16,8 @@
#' implementation.
#' Override this method to completely change the appearance of the pillars.
#' Components are created with [new_pillar_component()] or [pillar_component()].
#' In order to customize printing of row IDs, the generic a method can be
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#' In order to customize printing of row IDs, the generic a method can be
#' In order to customize printing of row IDs, a method can be

@krlmlr krlmlr merged commit 5b5f3ae into r-lib:main May 10, 2022
@krlmlr
Copy link
Member

krlmlr commented May 10, 2022

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customizable row metadata
2 participants