See #1291 for even more details.
When we moved from default values of names/values_ptypes = list() to names/values_ptypes = NULL and allowed names_ptypes = list() to mean "use a list ptype for all columns", this caused breakage in extension packages that extended pivot_longer() and still had list() as their default value for these arguments.
So we temporarily special cased a value of list() for these two arguments to be identical to NULL to give the extension packages time to update to the new default. Documentation was updated to mention this special casing, and to state that it was temporary.
We'd like to remove this special casing once the packages are updated so that names_ptypes = list() will again mean "use a list ptype for all columns".
This issue tracks the status of the known packages that have this issue. Once they are all fixed, we can remove the special casing from the code and documentation:
Once these issues are all resolved, revert everything done in this PR #1297
See #1291 for even more details.
When we moved from default values of
names/values_ptypes = list()tonames/values_ptypes = NULLand allowednames_ptypes = list()to mean "use a list ptype for all columns", this caused breakage in extension packages that extendedpivot_longer()and still hadlist()as their default value for these arguments.So we temporarily special cased a value of
list()for these two arguments to be identical toNULLto give the extension packages time to update to the new default. Documentation was updated to mention this special casing, and to state that it was temporary.We'd like to remove this special casing once the packages are updated so that
names_ptypes = list()will again mean "use a list ptype for all columns".This issue tracks the status of the known packages that have this issue. Once they are all fixed, we can remove the special casing from the code and documentation:
pivot_longer()args taking single/multiple values dbplyr#744pivot_longer()signature r-spatial/sf#1895pivot_longer()argument defaults fromlist()toNULLsparklyr/sparklyr#3221pivot_longer()argument defaults fromlist()toNULLstemangiola/tidyseurat#49Once these issues are all resolved, revert everything done in this PR #1297