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

Why extra message? #1

Open
mmahmoudian opened this issue Sep 14, 2020 · 2 comments
Open

Why extra message? #1

mmahmoudian opened this issue Sep 14, 2020 · 2 comments

Comments

@mmahmoudian
Copy link

mmahmoudian commented Sep 14, 2020

Hi,

I wonder what is the purpose of the following message() in the following line:

message('loaded ', pkgname, ' and set parent environment')

I'm using doParallel in my package and I get this message. I don't understand why is it useful to have such clogging output. I would suggest either of the following:

  1. Removing or commenting out the if statement if it really does not serve any serious purpose.
  2. Adding an argument (e.g quite or verbose) to the functions to silence such messages.
@HenrikBengtsson
Copy link
Contributor

Just curious, how do you trigger this message? Do you have a minimal reproducible example?

@mmahmoudian
Copy link
Author

@HenrikBengtsson thanks for replying. It has been a while since I touched that code. I for sure doesn't have a small example, but perhaps I can trim the data to create a toy data to showcase this. I'll report back.

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

No branches or pull requests

2 participants