moodymudskipper / safejoin

Wrappers around dplyr functions to join safely using various checks
GNU General Public License v3.0
42 stars 7 forks source link

rlang::enquos, not enquos #36

Closed moodymudskipper closed 4 years ago

moodymudskipper commented 5 years ago
library(safejoin)
library(magrittr)
df1 <- data.frame(Id=c(1L,2L,3L,4L,5L,6L,7L,8L),category=c("na","na","na","na","na","na","na","na"),stringsAsFactors=F);
df2 <- data.frame(Id=c(1L,2L,3L,4L), price=c(10,20,30,40),stringsAsFactors=F)
df3 <- data.frame(Id=c(5L,6L,7L,8L), price=c(50,60,70,80),stringsAsFactors=F)
df1$category[is.na(df1$category)] <- NA

df1 %>% eat(df2, .conflict = "patch") %>% eat(df2, .conflict = "patch")
#> Joining, by = "Id"
#> Error in enquos(...): could not find function "enquos"

Created on 2019-06-20 by the reprex package (v0.3.0)

moodymudskipper commented 4 years ago

This was already fixed, must have forgotten to close it