Open psychelzh opened 11 months ago
Thanks, makes sense. As a workaround, you could now use as.data.frame(...)
or as.list(as.data.frame(...))
:
as.data.frame(list(a = 1, b = 2:4))
#> a b
#> 1 1 2
#> 2 1 3
#> 3 1 4
Created on 2023-11-05 with reprex v2.0.2
When specifying multiple parameters, if one of the parameters is a scalar and the others have the same length, it will be reasonable to expand that scalar to the same length as the other parameters.