You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there was an author reasoning mistake about how @examplesIf is meant to work, like "write the condition in @examplesIf, then the examples to be conditioned below under @examples.
This mistake could easily go un-noticed, and I can't easily see a reason to have an empty @examplesIf entry, so it might make sense to warn in this case (with a roxy-classed condition, of course).
More generally, I also don't see why you'd have an empty @examples section either (besides as a placeholder), so a warning could be appropriate there also.
The text was updated successfully, but these errors were encountered:
Recently filed vincentarelbundock/marginaleffects#1338 where
@examplesIf
was used slightly incorrectly:I think there was an author reasoning mistake about how
@examplesIf
is meant to work, like "write the condition in@examplesIf
, then the examples to be conditioned below under@examples
.This mistake could easily go un-noticed, and I can't easily see a reason to have an empty
@examplesIf
entry, so it might make sense to warn in this case (with aroxy
-classed condition, of course).More generally, I also don't see why you'd have an empty
@examples
section either (besides as a placeholder), so a warning could be appropriate there also.The text was updated successfully, but these errors were encountered: