Hi,
I'm building a package that uses tidyselect::where() in a function. However, when I reference tidyselect::where() I get the an error message Error: 'where' is not an exported object from 'namespace:tidyselect'. I can use the where function after running either library(tidyverse) or library(tidyselect), but I can't run it when using the :: syntax. I have tested this on both a windows 10 laptop and on MacOS Catalina with tidyselect 1.1.0 and tidyverse 1.3.0.
minimal example:
library(tidyverse)
iris <- as_tibble(iris)
iris %>% select(where(is.factor)) # works fine
iris %>% select(tidyselect::where(is.factor))
# Error: 'where' is not an exported object from 'namespace:tidyselect'
I can use tidyselect:: notation with other tidyselect functions. For example, this works fine.
iris %>% select(tidyselect::ends_with("Length"))
edit: can to can't
, additional working example