forsys-sp / forsysr

An R implementation of the ForSys program
GNU General Public License v3.0
8 stars 3 forks source link

Prevent status from being printed to console #83

Open strangeties opened 1 year ago

strangeties commented 1 year ago

When running forsys, messages are printed to console such as the one below.

Weighting scenario 4 of 5: 1-2

Assuming unlimited annual target
10000 stands (100% of total) treated in 100 projects

We want to limit this in a production environment.

Is it possible to add a boolean input parameter that enables a user to decide whether or not these messages are logged?

Thank you.

codyevers commented 1 year ago

Yes, we add a verbose parameter that controls these methods. I'll add it to the to do list.

strangeties commented 1 year ago

Thanks! Sounds great.

As an update, in case it affects how you want to prioritize this task, @JanLauGe suggested using "suppressMessages", which resolved the issue for us. I'll replace "suppressMessages" with the "verbose" parameter when it becomes available.