How to handle 'could not find function' errors?

This is a general question with no reprex, but I was curious if there were any best practices. I'm also referring to functions that were built not functions that were loaded through a package. Let me know if this is too vague so I can append. Thanks!

To use a user-installed function (using dplyr as example), there are three ways

library(dplyr)
require(dplyr)
mtcars  |> dplyr::select(mpg)

If you have one of the first two, you can substitute %>% for |> because dplyr will also load the magrittr package, but using dplyr::something won't

This topic was automatically closed 42 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.