How to figure out the"conflicts" when I was trying to install packages?

Hi everyone,
I am a new learner in using RStudio.
When I was trying to run "install.packages("tidyverse") in R console, but the ending result:
── Conflicts───────────────────────────────────────────────────────────── tidyverse_conflicts() ──
:heavy_multiplication_x: dplyr::filter() masks stats::filter()
:heavy_multiplication_x: dplyr::lag() masks stats::lag()
:information_source: Use the conflicted package to force all conflicts to become errors

I have repeated this activity several times, but the ending still was with "Conflicts" each time...

Could someone help figure out what's wrong with it?

Thank you so much ahead. : )

There is nothing wrong with it. It is just telling you that you'll need to call stats::filter() instead of filter() if you want to use the filter() function from the stats package. Because in your session filter() defaults to filter() from the dplyr package.

So this is not an error. In general an error message in R starts with

Error: ...
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.