Skip to content

fix error in repr_text() on packed tibble#166

Merged
flying-sheep merged 1 commit into
IRkernel:masterfrom
Fan-iX:patch-repr_text
Jun 5, 2023
Merged

fix error in repr_text() on packed tibble#166
flying-sheep merged 1 commit into
IRkernel:masterfrom
Fan-iX:patch-repr_text

Conversation

@Fan-iX
Copy link
Copy Markdown
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