Closed DavisVaughan closed 1 year ago
Thanks for the heads up @DavisVaughan I'll try to get something to CRAN before the 27th. The current behaviour was anticipated (required). I presume that after dyplr 1.1.0 is accepted to CRAN, it would be preferred to require this version and use multiple = "all"
explicitly in these left_join()
calls where this behaviour is expected?
Correct!
This PR makes your package compatible with the next version of dplyr:
The join functions in dplyr (like
left_join()
) now return a warning by default when a row inx
matches multiple rows iny
. While this is typical SQL behavior, it is often unexpected during data analysis (many people don't even know it is possible), so we've decided to make this a warning. In dplyr 1.1.0, you silence this warning withmultiple = "all"
. In the meantime, to be compatible with both dev and CRAN dplyr we need to work around broken tests of yours that were expecting no output.I think I've fixed this by suppressing the warning anywhere you called a join function. I'll admit I was having trouble running your tests (I am on a Mac), but the changes I made seem to align with the failures I saw in the cloud revdepcheck results:
If you could check against dev dplyr yourself to confirm, that would be great!
We plan to submit dplyr 1.1.0 on January 27th.
This should be compatible with both dev and CRAN dplyr. It would help us out if you could go ahead and send a patch version of your package to CRAN ahead of time! Thanks!