Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Set default for token argument in functions? #28

Open
mattpolicastro opened this issue Apr 11, 2016 · 2 comments
Open

Set default for token argument in functions? #28

mattpolicastro opened this issue Apr 11, 2016 · 2 comments
Labels

Comments

@mattpolicastro
Copy link

New to using the package and a finicky question:

RStudio flags most RGA functions with "argument 'token' is missing, with no default" when authorisation is done with environment variables and no explicit token has been set. This is fairly irrelevant, but is there a reason not to set a default argument of NULL, or something similar? It's a small ergonomics and preference question, but I'd love to hear folks' thoughts.

@artemklevtsov
Copy link
Owner

@mattpolicastro: can you provide pull request?

@mattpolicastro
Copy link
Author

Happily! Just thought I'd ask permission before making changes. I'll start looking into implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants