Giter Club home page Giter Club logo

Comments (12)

caravagn avatar caravagn commented on August 26, 2024

With no rush, we will have to check it works with a fresh install.

from mobster.

marcjwilliams1 avatar marcjwilliams1 commented on August 26, 2024

I get this error on R v4.0 FYI

Error: Failed to install 'mobster' from GitHub:
  (converted from warning) package ‘vcfR’ is not available (for R version 4.0.2)

Looks like vcfR will reappear on CRAN at some point (knausb/vcfR#165)

from mobster.

luca-dex avatar luca-dex commented on August 26, 2024

Hi @marcjwilliams1 ,
there's not much we can do to make the package available on CRAN however you can install vcfR directly from their github repository ( https://github.com/knausb/vcfR ) with the command:

devtools::install_github(repo="knausb/vcfR")
library(vcfR)

from mobster.

marcjwilliams1 avatar marcjwilliams1 commented on August 26, 2024

Yes, was just flagging in case this hadn't been spotted. vcfR doesn't look key so it could be moved to suggests and/or added to remotes if we want a clean install.

from mobster.

caravagn avatar caravagn commented on August 26, 2024

Thanks @marcjwilliams1 it makes sense. There is a number of packages that have really minor importance for mobster to work. This is one of those as it only help some pre-processing of VCF files. I wish there was (or I knew) some elegant way of declaring some packages are required, and others as optional in terms of dependencies...

from mobster.

luca-dex avatar luca-dex commented on August 26, 2024

@caravagn give me 5 minutes... http://r-pkgs.had.co.nz/description.html

from mobster.

marcjwilliams1 avatar marcjwilliams1 commented on August 26, 2024

@caravagn The suggests in the DESCRIPTION can work like this can't it?

Then in the load_vcf function you add something like:

    if (!requireNamespace("vcfR", quietly = TRUE)) {
      stop("Package \"vcfR\" needed for this function to work. Please install it.",
           call. = FALSE)
    }

from mobster.

marcjwilliams1 avatar marcjwilliams1 commented on August 26, 2024

Ah yes, this is what @luca-dex link says too...

from mobster.

caravagn avatar caravagn commented on August 26, 2024

Fantastic guys; are now master an development in synhc? I am using development locally ...

from mobster.

luca-dex avatar luca-dex commented on August 26, 2024

from mobster.

caravagn avatar caravagn commented on August 26, 2024

from mobster.

luca-dex avatar luca-dex commented on August 26, 2024

Already fixed

from mobster.

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.