Comments (5)
@tomwagstaff-opml thanks for trying it out on your computer too!
Since there currently isn't anything actionable on our end, I am going to close this. But we do want to help, so please feel free to open another issue if you can find a reproducible example that isn't working as expected, thanks!
from dplyr.
What version of dplyr are you using? This got dramatically less annoying with dplyr 1.1.1
this hasn't been explicitly noted
There are many NEWS bullets about this
In our testing this has been working as expected, so we would need a full reprex at this point to see if anything is wrong
from dplyr.
I'm using dplyr 1.1.3
When I say not explicitly noted, I mean by setting the relationship
parameter within the join function.
As I said, I'm afraid I can't share the example I'm working on - I've just traced through the examples and found they are in fact unique matches.
from dplyr.
There is nothing I can do without an example, sorry.
It seems to be working as expected, i.e. the comment "the second column(s) to match on are being ignored when the warning is generated" does not appear to be true for me.
library(dplyr)
x <- tibble(
a = c(1, 1, 2, 2),
b = c(1, 2, 3, 4)
)
left_join(x, x, join_by(a, b))
#> # A tibble: 4 × 2
#> a b
#> <dbl> <dbl>
#> 1 1 1
#> 2 1 2
#> 3 2 3
#> 4 2 4
Created on 2023-11-22 with reprex v2.0.2
from dplyr.
I'm afraid I can't reproduce it with a trivial example either. This is closer to my situation, but runs fine:
x <- tibble(
a = c(1, 1, 2, 2),
b = c(1, 2, 1, 2)
)
y <- rename(x, c = b)
inner_join(x, y, by = c("a", "b" = "c"))
Hopefully someone in a position to share their data and code will turn up the same issue.
from dplyr.
Related Issues (20)
- Code don't work in version 1.1.4 HOT 1
- A better data masking indirection example in the `programming.Rmd` vignette: `filter(df, {{ var }})`
- Not correctly escaping column names in sql for `duckdb` connection HOT 1
- arrange not reporting syntax errors on .by_group HOT 1
- Unable to pass n to dplyr::slice
- Feature Request: profiling options for a chain of pipes HOT 1
- `cur_column()` not working in `case_when()` LHS HOT 1
- perfromance slowdown using across within mutate HOT 1
- Update `.groups` message after `group_by() |> summarize()`
- Request: Add a .by argument to slice_ functions to match main verbs HOT 3
- Request: Add native pipeline/verb logging option similar to `tidylog` package.
- Add `tidypolars` to the list of backends?
- Request non-equal join: closest() supports dual-sided inequality <>
- Feature Request: Reduce Boilerplate to Silence Many-to-Many Join Warnings in dplyr HOT 4
- Unexpected behavior in summarize() HOT 4
- join_by() get_bys error HOT 1
- Add param to left_join to set value when does not exists match HOT 2
- R: group_by() column1 and perform rle() on column2 HOT 4
- Ascendant order explicit function for arrange HOT 2
- `summarise()` breaks when using `across()` with name collisions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dplyr.