Giter Site home page Giter Site logo

Bug in newest R versions about omnipathr HOT 4 CLOSED

saezlab avatar saezlab commented on May 23, 2024
Bug in newest R versions

from omnipathr.

Comments (4)

cgeyskens avatar cgeyskens commented on May 23, 2024

Hi,

I was also working with some data and got the same error, see below:

all_interactions_mouse <- import_all_interactions(organism = 10090)
Error in mutate():
ℹ In argument: n_references = ifelse(...).
Caused by error in map():
ℹ In index: 1.
Caused by error in .f():
! Arguments in ... must be passed by position, not name.
✖ Problematic argument:
• outsep = outsep
Run rlang::last_error() to see where the error occurred.

from omnipathr.

deeenes avatar deeenes commented on May 23, 2024

This is an interesting regression that appeared probably in December, with the combination of the latest purrr and tidyselect or rlang. I think raising this error for purrr::map is inappropriate, I don't understand the motivation, though almost sure it is intentional design decision. Thanks for reporting, and I am sorry that it failed in your course!

from omnipathr.

WeiqiangChen avatar WeiqiangChen commented on May 23, 2024

I have installed OmnipathR 3.7.2. But still get following Purrr error. I have purrr 1.0.1. R 4.2.2

go_data <- go_annot_download(organism = "human", aspects = c("C", "F", "P"), slim = TRUE)
[2023-03-16 08:47:51] [SUCCESS] [OmnipathR] Building GO slim (organism: human; aspects: C, F, P; slim: generic). This will take 20-40 min at the first time, and will be saved in the cache for later use.
[2023-03-16 08:47:52] [SUCCESS] [OmnipathR] Gene Ontology (current.geneontology.org): loaded 630196 records from cache
Error in mutate():
ℹ In argument: ancestors = map(...).
Caused by error in map():
ℹ In index: 1.
Caused by error in simple_vs_index():
! Unknown vertex selected
Run rlang::last_trace() to see where the error occurred.

from omnipathr.

deeenes avatar deeenes commented on May 23, 2024

Hi @WeiqiangChen, This is a completely different error, in a very specific part of the package, which builds a Gene Ontology graph structure. It's great that you've found it, and I will take a look soon.

from omnipathr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.