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

Error when loading emales.fna with https://github.com/thackl/gggenomes/blob/HEAD/vignettes/emales.Rmd #187

Closed
tr31zh opened this issue May 30, 2024 · 1 comment

Comments

@tr31zh
Copy link

tr31zh commented May 30, 2024

When executing command from articles section:

emale_seqs <- read_fai("emales.fna") %>%
    tidyr::extract(seq_desc, into = c("emale_type", "is_typespecies"), 
        "=(\\S+) \\S+=(\\S+)",
        remove=F, 
        convert=T) %>%
    dplyr::arrange(emale_type, length)

We get the following error:

Error in dplyr::arrange(., emale_type, length) : 
Caused by error:
! `..2` must be a vector, not a primitive function.

Related to:

System: macbook pro 14.2.1 (23C71)
R version: 4.4.0 clean install
tidyr: 1.3.1
dplyr: 1.1.4

@iimog
Copy link
Collaborator

iimog commented Jun 5, 2024

The code in this vignette is from an earlier version of gggenomes, there are currently no resources to update the code for the latest version. Therefore, there is this disclaimer at the top of the page:

DISCLAIMER: I’ve created this demo with an early version of gggenomes. Not all of the code will function with current releases. However, the general workflow both with respect to the external tools and gggenomes code is still valid and this demo should therefore be understood as an hopefully inspiring guide - not as an exactly reproducible code example (Those kind of examples you can find in the examples sections of the documentation).

@tr31zh tr31zh closed this as completed Oct 2, 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