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

Extra columns get .1 suffix when duplicated #332

Closed
krlmlr opened this issue Jun 28, 2021 · 1 comment
Closed

Extra columns get .1 suffix when duplicated #332

krlmlr opened this issue Jun 28, 2021 · 1 comment
Labels
Milestone

Comments

@krlmlr
Copy link
Member

krlmlr commented Jun 28, 2021

options(width = 80)
out <- vctrs::new_data_frame(class = "tbl", list(
  blocker = pillar::char("column_name_123456789012345678901234567890123456789012345678901234567890", min_chars = 75),
  somewhat_long = 2,
  somewhat_long = 3
))

out
#> # A data frame: 1 × 3
#>   blocker                                                                 
#>   <char>                                                                  
#> 1 column_name_123456789012345678901234567890123456789012345678901234567890
#> # … with 2 more variables: somewhat_long <dbl>, somewhat_long.1 <dbl>
names(out)
#> [1] "blocker"       "somewhat_long" "somewhat_long"

Created on 2021-06-28 by the reprex package (v2.0.0)

@krlmlr krlmlr added the bug label Jun 28, 2021
@krlmlr krlmlr added this to the 1.6.2 milestone Jun 28, 2021
@krlmlr krlmlr closed this as completed in 6fe5904 Jul 24, 2021
@github-actions
Copy link
Contributor

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

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

No branches or pull requests

1 participant