That message is just telling you that both stats and dplyr packages have functions called filter() and lag(), and since dplyr is loaded last is masking the function names of the stats package, so if you just type filter() for example, is going to use dplyr::filter() instead of stats::filter()