Closed Rekyt closed 2 years ago
An additional suggestion: maybe this message can also be printed in the functions fb_count_*()
In fact this message can be moved to the functions fb_count_*()
Actually the more I think about the message the less clear it is.
If it's in the count_*()
functions, for when a species has only NA or a trait only NAs or a site only NA/0 it can be useful to notice.
However, if it's inside the filter_*()
functions, then we get the message before the filtering action that, most probably, will remove the species/traits/sites.
If we move the message into the count_*()
functions it will be also displayed in the calls to filter_*()
functions.
I'm happy to get your opinion on this. Do you think it's still a useful message to output? If yes, in which case?
Yes...
In my head, the purpose of this message was to inform users that some entity (site, species, trait) has only NA (or no variability). And then users can remove manually those entities. But as it is the purpose of the functions fb_filter_*()
, it is useless.
However, can it be useful to print some messages inside fb_filter_*()
to inform users on how many entities have been removed/kept?
Close as fixed by #60
Currently the message is written at the beginning:
Created on 2022-06-18 by the reprex package (v2.0.1)
However, it would probably make more sense to output AFTER the filtering.