You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this should result in error, beause last(integer(0)) is integer(0), which is not of length 1. The error message should indicate this and provide the solution that the function needs to be modified or fill= argument has to be explicitly set. Ex:
The text was updated successfully, but these errors were encountered:
arunsrinivasan
changed the title
dcast.data.table should error when fun.aggregate value for missing argument is of length 0, but no fill value is provided
dcast.data.table should error when fun.aggregate value for missing combinations is of length 0, but no fill value is provided
Jul 3, 2014
While fixing #713, came across another potential bug that needs to be fixed.
Now, if we do:
this should result in error, beause
last(integer(0))
isinteger(0)
, which is not of length 1. The error message should indicate this and provide the solution that the function needs to be modified orfill=
argument has to be explicitly set. Ex:The text was updated successfully, but these errors were encountered: