Skip to content

Another issue with the duplicate recommended packages #534

Closed
r-lib/pkgdepends
#331

Description

@gaborcsardi

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

Activity

  1. gaborcsardi commented on Sep 6, 2023

    @gaborcsardi
    MemberAuthor

    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 ... done
    
    → Will 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions