Describe the bug
The agg function produces this error when an age group is missing even though I have the argument missing_dt_severity = "none".
Error in colnamesInt(x, neworder, check_dups = FALSE) : argument specifying columns specify non existing column(s): cols[1]='age_group_id' In addition: Warning message: In [.data.table(result_dt, , :=(c(col_stem), NULL)) : Column 'age' does not exist to remove
It would be nice if the error was more informative because it makes it seem like the age columns are missing but they are not.
Describe the bug The agg function produces this error when an age group is missing even though I have the argument
missing_dt_severity = "none"
.Error in colnamesInt(x, neworder, check_dups = FALSE) : argument specifying columns specify non existing column(s): cols[1]='age_group_id' In addition: Warning message: In [.data.table(result_dt, , :=(c(col_stem), NULL)) : Column 'age' does not exist to remove
It would be nice if the error was more informative because it makes it seem like the age columns are missing but they are not.
To Reproduce