Consider moving the dots in pivot_wider()
and pivot_longer()
#1350
Labels
breaking change ☠️
API change likely to affect existing code
feature
a feature request or enhancement
We'd move them up front, like:
This has two big benefits:
Allows us to add more optional arguments to the generic without fear of breaking packages that have written methods for these generics. As long as the optional arguments come after the
...
in the generic, then there won't be a CRAN check warning.Forces users to specify the optional arguments by name. This is nice because we can add new optional arguments in any order without fear of breaking any positional arguments. This is particularly important for package code, where reliance on positional argument ordering can cause a CRAN failure
See #1347 (comment) for more details and some motivation
This would be a breaking change for anyone who is currently relying on positional arguments. But the
cols_vary
addition is already a breaking change for the same reason, so it seems like a nice time to change this too.The text was updated successfully, but these errors were encountered: