Hi everyone,
I received a suggestion for a function for one of my R packages, and the submitter used a leading dot for one the arguments (e.g. an argument named .slide_values). To see if I should l keep the leading dot notation, I read this thread below and I'm still confused.
To learn a little more, I looked at various tidyverse functions and saw that the .direction argument in tidyr uses this notation. This argument is not involved in functional programming or legacy code, and uses this notation since it's inception (see https://github.com/tidyverse/tidyr/commit/37108cea610ac2e25c5d4080187448fb6c726f9b).
Does anyone know why?
hope this is not a silly question!