Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change verbose option to getOption("verbose") #577

Closed
kbenoit opened this issue Mar 4, 2017 · 1 comment
Closed

change verbose option to getOption("verbose") #577

kbenoit opened this issue Mar 4, 2017 · 1 comment

Comments

@kbenoit
Copy link
Collaborator

kbenoit commented Mar 4, 2017

We can centralise this and let users change the option globally, by setting this in each function argument to function(..., verbose = getOption("verbose").

This is not consistent in core R packages, e.g. source() does, but load() does not use the getOption("verbose") in the function argument.

@kbenoit
Copy link
Collaborator Author

kbenoit commented Mar 12, 2017

functions that use verbose options:

  • bootstrap_dfm
  • summary.character
  • summary.corpus
  • dfm
  • dfm_lookup
  • dfm_select
  • dfm_trim
  • textmodel_wordscores
  • tokens
  • tokens_lookup
  • tokens_select

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Docathon for quanteda
Function signatures
Development

No branches or pull requests

1 participant