Closed mgacc0 closed 3 years ago
library(tidyverse)
tibble::tribble(
~id, ~date,
"A", "2020-01-01",
"B", NA_character_
) %>%
mutate(date = ymd(date)) %>%
datapasta::dpasta()
#> Error in strrep(" ", char_length - nchar(char_vec)): invalid 'times' value
It happens in tribble_construct
when a column has Date type.
Thanks for reporting this. This felt a bit familiar. I am pretty sure I have already fixed this in the github and r-universe version (3.1.1) though.
Does that fix it for you also?
I can confirm that it's fixed on the latest version (3.1.1) from github. Thanks.