Hello,
This is a recent change in behavior.
With an older version of tibble:
tibble(x = "abc\ndef")
# A tibble: 1 x 1
x
<chr>
1 abc\ndef
now:
tibble::tibble(x = "abc\ndef")
# A tibble: 1 x 1
x
<chr>
1 abc
def
Now that new line characters are printed literally, it throws off the printing of entire tables. eg:
tibble::tibble(x = rep_len("abc\ndef", 10))
# A tibble: 10 x 1
x
<chr>
1 abc
def
2 abc
def
3 abc
def
4 abc
def
5 abc
def
6 abc
def
7 abc
def
8 abc
def
9 abc
def
10 abc
def
(sorry, accidentally posted too early with keyboard shortcut earlier)
Hello,
This is a recent change in behavior.
With an older version of tibble:
now:
Now that new line characters are printed literally, it throws off the printing of entire tables. eg:
(sorry, accidentally posted too early with keyboard shortcut earlier)