Giter Site home page Giter Site logo

Comments (14)

aforestsomewhere avatar aforestsomewhere commented on May 27, 2024 2

Just chipping in that the source versions of those 3 problematic Bioconductor dependencies (‘S4Vectors’, ‘Biostrings’, ‘GenomicRanges’) seem to be resolved on R4.2.0 (architecture issue cited above notwithstanding).

BiocManager::install() was enough for S4Vectors and Biostrings.

For GenomicRanges it was necessary to compile from the source but it was pretty straightforward.

Hope that can help someone else! and thanks @iferres for developing Pagoo

from pagoo.

iferres avatar iferres commented on May 27, 2024 1

Thank you.
I think the problem is that you are using a very new R version which doesn't have those required packages available yet (sometimes it takes some time to cran to resolve all issues with package installation on newest R versions). May be you could try to downgrade R and try again. There's a R version manager which could make your life easier, although I haven't tried it yet: https://github.com/r-lib/rig
Let me know if you manage to make it work. Bests!

from pagoo.

iferres avatar iferres commented on May 27, 2024 1

Apparently Bioconductor still doesn't support Apple's chip compilation yet, from what I have read.
I'm not sure if it works, but you could try to compile S4Vectors from source. The last solution I could think is to use rosetta to virtualize an x86_64 architecture on your Mac, and make a fresh installation of everything: https://support.bioconductor.org/p/9137290/
Sorry I can't help you very much.

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024 1

Thank you for your time. Well, unfortunately, you are right with M1. I going to work with alternatives.

from pagoo.

iferres avatar iferres commented on May 27, 2024 1

Thank you!!

from pagoo.

iferres avatar iferres commented on May 27, 2024

Another option would be to try to install those dependencies packages from source, an then try to install pagoo again.

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024

Thank you for these alternatives, however, I tried to install pagoo on versions 3.4.4, 3.5.3 and 3.6.3, all of these versions don´t have pagoo available (that is the message from R). On another hand, 4.0.5 and 4.1.3 said:

  installation of package ‘pagoo’ had non-zero exit status

I think that the real problem is the Bioconductor packages

‘S4Vectors’, ‘Biostrings’, ‘GenomicRanges’

What version are you using right now (R)?
Do you know any alternative to pagoo that you recommend?
Do you recommend downloading each package to my local machine and install from it?

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024

I going to install a conda environment using a specific R version that I hope works with pagoo

from pagoo.

iferres avatar iferres commented on May 27, 2024

Argh.. the dependency hell. I'm personally using R 4.0.5, but the continuous integration pipeline builds it on R 4.2.0 (on MacOS), so it should work.
The only thing I notice from your session is that you are using an ARM based Mac (M1 or M2), isn't it? On one side I would say there is the problem, but I notice that CRAN is able to build it for that architecture:
See:
https://cran.r-project.org/web/checks/check_results_pagoo.html

and specifically for ARM64 MacOS:

Still investigating..

from pagoo.

iferres avatar iferres commented on May 27, 2024

What does it says when you try to install S4Vectors?

install.packages("S4Vectors")

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024

It said this:

Warning in install.packages :
  package ‘S4Vectors’ is not available for this version of R

So, I think that the problem maybe is (1) with the version or with (2) my macbook (m1).

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024

However, I going to try to use a conda environment with R. I hope that works

from pagoo.

MauriAndresMU1313 avatar MauriAndresMU1313 commented on May 27, 2024

I created a virtual environment with conda (r version 4.2.0) and then I used:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install(version = "3.15")

All was good, however, when I try to install pagoo:

Warning messages:
1: In install.packages(...) :
  installation of package ‘stringi’ had non-zero exit status
2: In install.packages(...) :
  installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(...) :
  installation of package ‘stringr’ had non-zero exit status
4: In install.packages(...) :
  installation of package ‘reshape2’ had non-zero exit status
5: In install.packages(...) :
  installation of package ‘GenomeInfoDb’ had non-zero exit status
6: In install.packages(...) :
  installation of package ‘Biostrings’ had non-zero exit status
7: In install.packages(...) :
  installation of package ‘GenomicRanges’ had non-zero exit status
8: In install.packages(...) :
  installation of package ‘ggfortify’ had non-zero exit status
9: In install.packages(...) :
  installation of package ‘heatmaply’ had non-zero exit status
10: In install.packages(...) :
  installation of package ‘pagoo’ had non-zero exit status

I really don't understand why doesn't work even in a virtual environment.
What do you think about this approach (virtual environment), where doesn´t work too?

from pagoo.

iferres avatar iferres commented on May 27, 2024

Given that the problem is the lack of compiled binaries for that architecture, I think it is reasonable to expect it to doesn't work.

I don't have experience with Rosetta, but for what I read, it could be a good alternative, as the link I gave you above says. In this reddit thread they recommend using Rosetta also.

from pagoo.

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.