Closed a-torgovitsky closed 4 years ago
https://github.com/conroylau/lpinfer/blob/0e21a64c00fb1a23e028ae4464baeaa3a62b2e8c/R/checks.R#L34-L52
Do not repeat yourself (ever, even for something like an output message) https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
You should make sure you aren't also doing similar things elsewhere in the code.
Done! I have fixed the typo here and also updated the code to prevent duplication in the output messages.
https://github.com/conroylau/lpinfer/blob/0e21a64c00fb1a23e028ae4464baeaa3a62b2e8c/R/checks.R#L34-L52
Do not repeat yourself (ever, even for something like an output message) https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
You should make sure you aren't also doing similar things elsewhere in the code.