tidyverse_conflicts()

Asked

Viewed 316 times

1

Loading the tidyverse package shows that there are some conflicts.

-- Attaching packages --------------------------------------- tidyverse 
 1.2.1 --
v ggplot2 3.0.0     v purrr   0.2.5
v tibble  1.4.2     v dplyr   0.7.6
v tidyr   0.8.1     v stringr 1.3.1
v readr   1.1.1     v forcats 0.3.0
-- Conflicts ------------------------------------------ tidyverse_conflicts() - -
x dplyr::filter() masks stats::filter()
x dplyr::lag()    masks stats::lag()

I have not been able to plot points on scatter charts. Does it have any relation as to the presence of this conflict?

I haven’t been able to identify the package that’s generating conflict with Tidyverse. What should I do?

  • 2

    These conflicts are normal. Note that it reports that the functions filter and lag package dplyr mask functions of same package name stats. You can ignore them. As for the scatter chart, you have already tried to close and open the R without saving the desktop to see if the situation fixes itself?

  • Thank you very much!

  • 2

    To complete what @Marcusnunes says, when there are conflicts it’s best to call functions in the form pacote::função. For example, stats::lag(x, n) or dplyr::lag(x, n). In this case, after loading the package tidyverse if you just do lag(.) will be the package’s function dplyr to be called.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.