I am trying to download the package shRNAseq (http://rock.icr.ac.uk/software/shrnaseq.jsp) for analysis of this data: Interpreting counts in a tabular file
However, I get the following error message (I have R version 3.0.1):
> library(shRNAseq)
Error: package ‘shRNAseq’ was built before R 3.0.0: please re-install it
Perhaps it would be more appropriate to contact the developer about this, but I suspect that the issue at hand is more general than just for this particular case: what is the best follow-up step if a package is designed for an earlier version of R, and you need the newer version for all your other stuff? Would you in fact install an older version of R for the purpose of running this package, and then switch back and forth between the versions? Seems quite cumbersome, but I'm not quite seeing any alternative way of solving this issue.
Btw, does devtools also contain make and the compilers to build c/fortran code in windows?
No. Devtools is simply a collection of R functions that ease development in R. As such, it is primarily designed for R developers, so build tools are assumed to be present.
Thanks for the tip, but now it seems I'm getting another error message. The same is true when I try with Michael's method, I get the same error message about NAMESPACE then as well. Any ideas?
There is a requirement in R 3.0.0 onwards to include a
NAMESPACE
file, which obviously won't be included in the version built for older versions of R. There is a post on Stack Overflow explaining how to make one of these: http://stackoverflow.com/questions/17196225/error-a-namespace-file-is-requiredI think now it's the time to get the original author of the software involved, even though we could do it ourselves, this is not a sustainable.
Yes. I think this is supposed to be one of the benefits of managed repositories such as Bioconductor.