attempt icon indicating copy to clipboard operation
attempt copied to clipboard

discretly or discreetly?

Open turgeonmaxime opened this issue 6 years ago • 1 comments

Awesome package! I've always found the interface to try and tryCatch confusing.

But I hate to be that person: I think you made a typo in calling your function discretly. I imagine you were going for discreetly (with two es), meaning:

In a careful and prudent manner, especially in order to keep something confidential or to avoid embarrassment. (from the OED)

You probably don't want to break code by changing the name of the function, but you could alias one or the other (and maybe output a message when discretly is called).

turgeonmaxime avatar Apr 15 '19 20:04 turgeonmaxime

Don't hate being that person — I'm not a native English speaker and on the contrary find it very useful when people come with feedback about. So thank you.

It's actually pretty easy to implement without making breaking change — I'll just rename discreetly to discretly and have a

#' @export
#' @nord
discretly <- discreetly

So that the function is still available, but with no documentation.

ColinFay avatar Apr 16 '19 06:04 ColinFay