DEGreport installation help
1
1
Entering edit mode
marinaw ▴ 20
@9c8b15cf
Last seen 10 months ago
Canada

Hi everyone,

I'm having trouble installing DEGreport due to a dependency:

> BiocManager::install("DEGreport")

'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.16 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Warning message:
package(s) not installed when version(s) same as current; use `force = TRUE` to re-install: 'DEGreport' 

> library(DEGreport)
Error: package or namespace load failed for ‘DEGreport’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘lasso2’

When I try to install lasso2, the following happens:

> BiocManager::install("lasso2")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.16 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Installing package(s) 'lasso2'
Warning message:
package ‘lasso2’ is not available for Bioconductor version '3.16'

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Lasso2 seems to have been archived. Is there a way to circumvent this so I can install DEGreport? Thanks!

DEGreport • 3.6k views
ADD COMMENT
0
Entering edit mode

Has this package gone the way of abandon-ware? I've just run into this issue 11 months later.

ADD REPLY
0
Entering edit mode

If you ran into the same issue, it's because you haven't updated R/Bioc. The package no longer requires `lasso2'.

Also, please don't add comments to ancient posts. Make another one and reference this existing one.

ADD REPLY
0
Entering edit mode
@james-w-macdonald-5106
Last seen 22 minutes ago
United States

The lasso2 package has been archived because the maintainer didn't get something done in time. Or something. If you are willing to take the chance, you can download here and then install directly using

install.packages(<path to downloaded file>, repos = NULL)

If you are on Windows, and there is no compiled code, you can add an additional argument of type = "source". If there is compiled code in lasso2 (likely?) and you are on Windows, you need to get Rtools first, and then you can specify type = "source". If you are on a Mac, then you need somebody other than me to help because I know nothing of such things.

Also CAVEAT EMPTOR. You are on your own, no presumption of suitability, who knows what's the deal with lasso2, etc, etc.

ADD COMMENT
0
Entering edit mode

Okay, thank you for the insight! Unfortunately I'm using a Mac.

ADD REPLY
0
Entering edit mode

Ooof. An M1 Mac? If prior, you might be able to install if you have XCode installed as well. Apparently there is C or C++ code, so you need a compiler.

ADD REPLY
0
Entering edit mode

install.packages(<path to downloaded file>, type = "source",repos = NULL) worked fine for me on Mac M2

ADD REPLY
0
Entering edit mode

@munta.jihad I downloaded the latest .tar file and unzipped it, ran the following code:

install.packages('~/Downloads/lasso2/R', type = "source",repos = NULL)

However I still get this

Warning in install.packages :
  installation of package ‘/Users/*(myaccountname)*/Downloads/lasso2/R’ had non-zero exit status
ADD REPLY
0
Entering edit mode

this worked for me but without unzipping the file!

ADD REPLY
0
Entering edit mode

I have an M2 Mac!

ADD REPLY

Login before adding your answer.

Traffic: 972 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6