When guess_formats()
is given a vector of length greater than 1, return a matrix
#1171
Labels
feature
a feature request or enhancement
When
lubridate::guess_formats()
is given a vector of length greater than 1, it returns a vector that has had some form of vector recycling performed. This is less than useful because there is no easy way to associate a given input with a given output. However, theprint_matches
argument causes a very nice matrix to print out where each row corresponds with an item in the input vector and each column with a value in theorders
argument. However, because the matrix is printed, there is no easy way to capture it. Whenx
is a vector of length greater than one, that matrix should be returned and not the vector.Created on 2024-11-01 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: