-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Description
A new line is created in the usage section (when not using the @usage tag) of the .rd file, when a function name with arguments exceeds a certain line length.
This is what roygen does (new line before "<- value"):
\usage{
set_labels(x, labels, force.labels = FALSE, force.values = TRUE, drop.na = TRUE)
set_labels(x, force.labels = FALSE, force.values = TRUE, drop.na = TRUE)
<- value
}
While the CRAN check expects the second usage in one line:
\usage{
set_labels(x, labels, force.labels = FALSE, force.values = TRUE, drop.na = TRUE)
set_labels(x, force.labels = FALSE, force.values = TRUE, drop.na = TRUE) <- value
}
Using @usage, however, works:
@usage set_labels(x, force.labels = FALSE, force.values = TRUE, drop.na = TRUE) <- value
Metadata
Metadata
Assignees
Labels
No labels