Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples do not work - issue with pick #199

Open
SergejRuff opened this issue Sep 24, 2024 · 1 comment
Open

Examples do not work - issue with pick #199

SergejRuff opened this issue Sep 24, 2024 · 1 comment

Comments

@SergejRuff
Copy link

Examples where pick() is utilized do not work and return the following error:

Error in pick():
! Must only be used inside data-masking verbs like mutate(), filter(), and group_by().

Examples can be found in the position functions such as gggenomes::position_strand'.

@thackl
Copy link
Owner

thackl commented Sep 25, 2024

This looks like you are using dplyr::pick() here. dplyr recently introduced a new function with that name. You need to either load library(gggenomes) after library(tidyverse/dplyr), or explicitly call gggenomes::pick() to get the right function.

@thackl thackl changed the title Examples do not work Examples do not work - issue with pick Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants