Skip to content

Conversation

@ccani007
Copy link
Contributor

@ccani007 ccani007 commented Sep 19, 2025

Closes #7671

  • Clarified wording for slice_max() and slice_min() in the introduction vignette
    (explicit default n = 1, clearer phrasing on NA handling).
  • Added a space after the slice_sample() example code chunk to fix issues
    affecting subsequent chunks.

…ubsequent chunks. Clarified wording for slice_max() and slice_min() in the intro vignette
Copy link
Member

@DavisVaughan DavisVaughan left a comment

Choose a reason for hiding this comment

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

Nice job! A few comments after thinking about this a little more closely

Co-authored-by: Davis Vaughan <[email protected]>
Comment on lines 132 to 135
starwars |>
filter(!is.na(height)) |>
slice_max(height, n = 3)
slice_max(height)
Copy link
Member

Choose a reason for hiding this comment

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

@ccani007 something still doesn't look right here. I'm expecting this example to be changed to

starwars |> slice_max(height, n = 3)

@DavisVaughan DavisVaughan merged commit 030f159 into tidyverse:main Sep 19, 2025
12 checks passed
@DavisVaughan
Copy link
Member

Thanks!

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.

Clarity slice_max() and slice_min() in introduction vignette

2 participants