Skip to content

Document @return for functions #131

@willgearty

Description

@willgearty

CRAN requires that all functions have a @return value (I think they only actually check this for new submissions, but it indicates a good standard that we should follow). Beyond this, it looks like it is now best practice to always return something, even if it's just the first argument, to facilitate piping (although note that ggplot2 still doesn't do this for most of their functions).

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions