I used the "." a lot to work with pipes chains in R and dplyr. However, now old code seems to now work anymore with that syntax. I could not find any answers on google. What am I missing?
Here is a silly example just to explain what I am referring to:
test <- iris |>
select(Sepal.Length, Sepal.Width)
random <- data.frame(
Sepal.Length = sample(iris$Sepal.Length),
Sepal.Width = sample(iris$Sepal.Width)) |>
bind_rows(., test) |>
ggplot(aes(x=Sepal.Length, y=Sepal.Width)) +
geom_point()
The code above used to work, but now it fails with an error that "." was not found.