Skip to content

Multiple installations #4

@lgatto

Description

@lgatto

I first observed this - despite installing/updating aplot, the installation function still wants to update it.

> BiocManager::install("aplot")
'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://cloud.r-project.org
Bioconductor version 3.17 (BiocManager 1.30.22), R 4.3.1 (2023-06-16)
Installing package(s) 'aplot'
Install system packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done
Fetched 0 B in 0s (0 B/s)                                                                                                             

Installation paths not writeable, unable to update packages
  path: /usr/lib/R/library
  packages:
    foreign, lattice, Matrix
  path: /usr/lib/R/site-library
  packages:
    GenomeInfoDbData
Old packages: 'aplot', 'bookdown', 'curl', 'DT', 'GenomeInfoDb', 'harmony',
  'KEGGREST', 'markdown', 'plyr', 'rsconnect', 'vroom'
Update all/some/none? [a/s/n]: n

This might be because aplot is installed in multiple libraries:

> ip <- installed.packages()
> ip[grep("aplot", rownames(ip)), ]
      Package LibPath                                          Version Priority
aplot "aplot" "/home/lgatto/R/x86_64-pc-linux-gnu-library/4.3" "0.2.1" NA      
aplot "aplot" "/usr/lib/R/site-library"                        "0.2.1" NA      
      Depends       
aplot "R (>= 4.1.0)"
aplot "R (>= 4.1.0)"
      Imports                                                                     
aplot "ggfun (>= 0.1.3), ggplot2, ggplotify, patchwork, magrittr,\nmethods, utils"
aplot "ggfun (>= 0.1.3), ggplot2, ggplotify, patchwork, magrittr,\nmethods, utils"
      LinkingTo Suggests Enhances License        License_is_FOSS
aplot NA        "ggtree" NA       "Artistic-2.0" NA             
aplot NA        "ggtree" NA       "Artistic-2.0" NA             
      License_restricts_use OS_type MD5sum NeedsCompilation Built  
aplot NA                    NA      NA     "no"             "4.3.1"
aplot NA                    NA      NA     "no"             "4.3.0"

Is this related to installation in multiple libraries using bioc2u? I've never observed this previously.

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