I would expect the following to be a data frame with 10 rows, and two columns, however data_frame returns only one row.
data_frame(x = 'hi', x = runif(10))
However this works correctly if the recycled column is not the first
data_frame(x = runif(10), y = 'hi')
looking at dataframe.R#L67-L77 it looks like it should be working regardless of the order. I will try and figure out what is going on.
I would expect the following to be a data frame with 10 rows, and two columns, however
data_framereturns only one row.However this works correctly if the recycled column is not the first
looking at dataframe.R#L67-L77 it looks like it should be working regardless of the order. I will try and figure out what is going on.