Hi,
I need to run an old version of edgeR 2.2.6. I found it on Bioconductor:
https://bioc.ism.ac.jp/packages/2.8/bioc/html/edgeR.html
The problem is that when I install it, the package corresponds actually to a newer version 3.8.6:
tar xzvf edgeR_2.2.6.tar
/usr/bin/R --vanilla --args TMM BH tagwise 5
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin10.8.0 (64-bit)
> Args <- commandArgs(TRUE)
> options(error=expression(NULL))
> setwd("/Users/Elena/Tnseq_ESSENTIALS_analysis_All_with_BG20h_runB_14jan2017/")
> library(edgeR)
Le chargement a nécessité le package : limma
Message d'avis :
le package ‘limma’ a été compilé avec la version R 3.1.3
> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] edgeR_3.8.6 limma_3.22.7
Any suggestion please? Thanks a lot in advance!

Why do you want to install edgeR 2.2.6? That seems a very strange thing indeed to do.
Actually, the reason why I want to use that version is that I already have some command lines working on that version and not on the new ones. In particular, when I enter the following command I get an error:
> de.tagwise <- glmLRT(d, glmfit.tgw, coef=4:9)
Erreur dans glmLRT(d, glmfit.tgw, coef = 4:9) :
glmfit must be an DGEGLM object (usually produced by glmFit).