Giter Site home page Giter Site logo

Exporting getDb about reactomepa HOT 10 CLOSED

yulab-smu avatar yulab-smu commented on June 14, 2024
Exporting getDb

from reactomepa.

Comments (10)

GuangchuangYu avatar GuangchuangYu commented on June 14, 2024

you are using devel branch of GOSemSim, then you need to use corresponding branch of DOSE and ReactomePA.

devtools::install_bioc(c("DOSE", "ReactomePA"))

from reactomepa.

LiNk-NY avatar LiNk-NY commented on June 14, 2024

I am using bioc-devel. You are missing an @export tag on getDb.

from reactomepa.

GuangchuangYu avatar GuangchuangYu commented on June 14, 2024

it was move to ReactomePA, see https://github.com/GuangchuangYu/ReactomePA/blob/master/R/utilities.R

from reactomepa.

LiNk-NY avatar LiNk-NY commented on June 14, 2024

Yes, I see that. You need to export this function from ReactomePA.

BiocInstaller::biocLite("ReactomePA") returns an error:

Error : object ‘getDb’ is not exported by 'namespace:GOSemSim'
ERROR: lazy loading failed for package ‘ReactomePA’

We know it's not exported from GOSemSim because it was moved to ReactomePA. It can't be found because it's not exported in the ReactomePA NAMESPACE.

from reactomepa.

GuangchuangYu avatar GuangchuangYu commented on June 14, 2024

it's not used elsewhere. Why I need to export it ?

from reactomepa.

LiNk-NY avatar LiNk-NY commented on June 14, 2024

Hi @GuangchuangYu,
If it is meant to be internal then you don't need to document it. What I usually do is add a period ('.') in front of the function so that it isn't picked up as an object that should be documented and exported by the checks.
This will resolve the error that appears when installing.

from reactomepa.

GuangchuangYu avatar GuangchuangYu commented on June 14, 2024

the issue is due to mixing installation of release and devel branch and not related to the documentation and function name.

from reactomepa.

LiNk-NY avatar LiNk-NY commented on June 14, 2024

The version number has not been updated and thus the package in the Bioc servers is not being re-build properly with the new changes please bump your version so that the package can be installed via BiocInstaller::biocLite("ReactomePA")

See #7

Regards,
Marcel

from reactomepa.

GuangchuangYu avatar GuangchuangYu commented on June 14, 2024

by default, BiocInstaller::biocLite("ReactomePA") will always install the release version.

In release branch, ReactomePA is still import getDb from GOSemSim.

Here, we are talking about the devel branch. You need to install it by:

library(BiocInstaller)
useDevel()
biocLite("ReactomePA")

Referring to #7, you need to wait 2-3 days for Bioconductor to update tarball or use devtools::install_bioc() to install it from svn repository as I also mentioned in https://github.com/ManuelGoepferich/LINC/issues/1#issuecomment-237126811.

from reactomepa.

LiNk-NY avatar LiNk-NY commented on June 14, 2024

Yes, I know that. I'm using and have been using the devel version of Bioconductor for a while now. Even using the devel branch, that error appears which indicates that your changes haven't been propagated due to the version bump issue.
Thanks for updating that.

from reactomepa.

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.