3 ms·
"Did you mean..." or "this is a bad idea because..." type notes in error/warning messages are underrated teaching tools. The R package "data.table" does a good
by nerdponx 9y ago
"Did you mean..." or "this is a bad idea because..." type notes in error/warning messages are underrated teaching tools.
The R package "data.table" does a good job at this. Just scroll through https://github.com/Rdatatable/data.table/blob/master/R/data.table.R https://github.com/Rdatatable/data.table/blob/master/R/data.... and search for "warning(".