r-lib / cpp11

cpp11 helps you to interact with R objects using C++ code.
https://cpp11.r-lib.org/
Other
199 stars 46 forks source link

Prompt 'Would you like to install them (Y/N)?' => (y/N)? #266

Closed HenrikBengtsson closed 1 month ago

HenrikBengtsson commented 2 years ago

Hi, this is minor, but when I was prompted:

The decor package(s) are required for this functionality
Would you like to install them? (Y/N)

the capitalization of both Y and N confused because, because normally you see (y/N) or (Y/n) where the capitalization indicates the default value.

Looking at stop_unless_installed(), it seems like the default (i.e. ENTER) behaves as answering N, so could the prompt be (y/N)?