Skip to content

Another issue with the duplicate recommended packages #534

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

Closed
gaborcsardi opened this issue Sep 2, 2023 · 1 comment · Fixed by r-lib/pkgdepends#331
Closed

Another issue with the duplicate recommended packages #534

gaborcsardi opened this issue Sep 2, 2023 · 1 comment · Fixed by r-lib/pkgdepends#331

Comments

@gaborcsardi
Copy link
Member

https://github.com/r-universe/cafferychen777/actions/runs/6056986512/job/16440799469

$repos
                                                    binaries 
 "https://cafferychen777.r-universe.dev/bin/linux/jammy/4.3" 
                                                    universe 
                     "https://cafferychen777.r-universe.dev/" 
                                                         P3M 
"https://packagemanager.posit.co/all/__linux__/jammy/latest" 
                                                        CRAN 
                               "https://cloud.r-project.org/" 
                                                    BioCsoft 
               "https://bioconductor.org/packages/3.17/bioc" 
                                                     BioCann 
    "https://bioconductor.org/packages/3.17/data/annotation" 
                                                     BioCexp 
    "https://bioconductor.org/packages/3.17/data/experiment" 

> pak::pkg_install('/github/workspace/ggpicrust2_1.7.2.tar.gz')

v Updated metadata database: 4.23 MB in 12 files.

i Updating metadata database
v Updating metadata database ... done

Error: 
! error in pak subprocess
Caused by error: 
! Could not solve package dependencies:
* local::/github/workspace/ggpicrust2_1.7.2.tar.gz:
  * Can't install dependency ggplot2
  * Can't install dependency lefser
  * Can't install dependency Maaslin2
  * Can't install dependency MicrobiomeStat
* MicrobiomeStat: Can't install dependency MASS
* MASS: Needs R >= 4.4
* ggplot2: Can't install dependency MASS
* lefser: Can't install dependency MASS
* Maaslin2: Can't install dependency MASS
@gaborcsardi
Copy link
Member Author

This is now fixed in dev pak:

> source("https://pak.r-lib.org/install.R")
Installing pak from stream stable.
[...]
> pak::pkg_remove("MASS", lib = .Library)
> pak::pkg_install("cafferychen777/ggpicrust2")
! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.Updated metadata database: 4.24 MB in 10 files.Updating metadata database ... done
Error:
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
* cafferychen777/ggpicrust2:
  * Can't install dependency ggplot2
  * Can't install dependency lefser
  * Can't install dependency Maaslin2
  * Can't install dependency MicrobiomeStat
* MicrobiomeStat: Can't install dependency MASS
* MASS: Needs R >= 4.4
* ggplot2: Can't install dependency MASS
* lefser: Can't install dependency MASS
* Maaslin2: Can't install dependency MASS
Type .Last.error to see the more details.
> source("https://pak.r-lib.org/install.R?stream=devel")
Installing pak from stream devel.
[...]
> pak::pkg_install("cafferychen777/ggpicrust2")
! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.Loading metadata database ... doneWill install 184 packages.Will update 1 package.Will download 1 CRAN package (121.47 kB).Will download 184 packages with unknown size.
[...]
+ MASS                           7.3-60     [dl]
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant