no visible binding for function where

Hello everyone,
I'm developing a package and I'm using "across" dplyr function. Inorder to apply to numeric columns users are encouraged to use

across (where(is. numeric) )

but when I ran CRAN checks it gives the warning no visible binding to "where" function. I tried to import the function but it's not part of dplyr namespace. Anyone knows a solution to this problem?

where is in the tidyselect package.

1 Like

Thanks a lot that was very helpful.

1 Like

You can generally search for a loaded functions namespace with the getAnywhere function.

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.