Here's how you can convert all date columns to character columns using purrr
list(df1, df2) %>%
map(~mutate(.x, across(where(lubridate::is.Date), as.character))) %>%
bind_rows()
or if you wanted to convert all columns with the "date" in their name to Date values you could do
list(df1, df2) %>%
map(~mutate(.x, across(contains("date"), as.Date))) %>%
bind_rows()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…