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

Improve verbosity for user about what is happening #43

Open
cderv opened this issue Apr 23, 2019 · 0 comments
Open

Improve verbosity for user about what is happening #43

cderv opened this issue Apr 23, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@cderv
Copy link
Collaborator

cderv commented Apr 23, 2019

We have DEBUGME output for developer. See what we can do to improve verbosity on what is going on for the user and where to put it.

Async mode and promise is not the easier, we may improve the verbosity.

Idea on how

  • A wrapper with a global option to deactivate easily
get_verbose <- function(msg) {
    is_verbose <- getOption("crrrri.verbose", FALSE)
    if (is_verbose) message(msg)
}
@cderv cderv added the enhancement New feature or request label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant