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

Resolver hangs with too many repos #628

Open
jeroen opened this issue May 8, 2024 · 0 comments
Open

Resolver hangs with too many repos #628

jeroen opened this issue May 8, 2024 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@jeroen
Copy link
Member

jeroen commented May 8, 2024

As discussed earlier, I run into a problem where the resolver hangs if there are too many repos.

> pak::pkg_install('ATACseqQC', dependencies=TRUE)
✔ Updated metadata database: 5.50 MB in 13 files.Updating metadata database ... done
.................... 

Would there be a way to give some hint to pak to prevent the combinatorial explosion in the solver?

One way to reproduce is this container:

docker run --rm -it --env MY_UNIVERSE=https://bioc.r-universe.dev/ --entrypoint=R ghcr.io/r-universe-org/build-wasm:latest

You can also reproduce it with another container running ubuntu:24.04 and setting:

options(repos = c(
    binaries = "https://bioc.r-universe.dev/bin/linux/noble/4.4",
    universe = "https://bioc.r-universe.dev", 
    CRAN = "https://p3m.dev/cran/__linux__/noble/latest",
    BioCsoft = "https://bioconductor.org/packages/3.20/bioc", 
    BioCann = "https://bioconductor.org/packages/3.20/data/annotation",
    BioCexp = "https://bioconductor.org/packages/3.20/data/experiment",
    fallback = "https://cloud.r-project.org", 
    archive = "https://cranhaven.r-universe.dev"
))
@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants