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

fix error in repr_text() on packed tibble #166

Merged
merged 1 commit into from
Jun 5, 2023
Merged

fix error in repr_text() on packed tibble #166

merged 1 commit into from
Jun 5, 2023

Conversation

Fan-iX
Copy link
Contributor

@Fan-iX Fan-iX commented May 22, 2023

I'm attempting to fix the error in repr_text caused by packed tibbles #154.

Now

iris %>%
  as_tibble() %>%
  pack(
    Sepal = starts_with("Sepal"),
    Petal = starts_with("Petal"),
    .names_sep = "."
  )

should be represented as

  Species Sepal$Length Sepal$Width Petal$Length Petal$Width
1 setosa  5.1          3.5         1.4          0.2        
2 setosa  4.9          3.0         1.4          0.2        
3 setosa  4.7          3.2         1.3          0.2        
4 setosa  4.6          3.1         1.5          0.2        
5 setosa  5.0          3.6         1.4          0.2        
6 setosa  5.4          3.9         1.7          0.4        

@flying-sheep flying-sheep added this pull request to the merge queue Jun 5, 2023
Merged via the queue into IRkernel:master with commit f6efa76 Jun 5, 2023
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.

2 participants