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
This behaviour is actually caused by roxygen2:::wrap_usage() default behaviour of wrapping the @usage bloc on multiple lines only when the width is greater than 80 characters. As one could see, this specific example is 79 characters wide and this explains why it is not wrapped automatically.
nchar("mc_cv(data, prop = 3/4, times = 25, strata = NULL, breaks = 4, pool = 0.1, ...)")
#> [1] 79
A workaround to solve this specific problem would be to manually write the @usage bloc in the function header, but as discussed with @hfrick at tidy-dev-day, this is not a good idea.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
It'd be nice to not have to scroll horizontally in situations like this:
The text was updated successfully, but these errors were encountered: