available icon indicating copy to clipboard operation
available copied to clipboard

Ask only once if I want to see Urban Dictionary results, or make it an argument

Open Spiritspeak opened this issue 4 years ago • 2 comments

It impedes workflow to keep asking whether urbandictionary results should be shown in available() ideally there would be an argument like showUrbanDictionary=c(getOption("session.showUD",NA),T,F) that asks the user for their preference on first call, saves it in option "session.showUD" and then uses that choice unless the argument showUrbanDictionary is explicitly set to T or F

Spiritspeak avatar Nov 12 '19 09:11 Spiritspeak

I agree, the current behavior is not ideal, I agree only showing this dialog once would be ideal. PRs welcome!

jimhester avatar Apr 03 '20 14:04 jimhester

This was addressed several years ago at https://github.com/r-lib/available/pull/50, but it missed the release, and there haven't been any release since them. You can use the GitHub/development version if you want to avoid this.

llrs avatar Feb 10 '21 15:02 llrs