syncLocalLibList in BioC 1.8 reposTools
1
0
Entering edit mode
@kimpel-mark-w-727
Last seen 9.6 years ago
I have been depending on syncLocalLibList in reposTools of BioC 1.8. As reposTools has been dropped from the current BioC release, can I mimic the functionality of syncLocalLibList with some other function? Below is the code I have previously used: require(reposTools) syncLocalLibList() most.recent.pckg.ver<-getPkgVers(as.character(annot.pckg))[[1]] Thanks, Mark Mark W. Kimpel MD ? Official Business Address: ? Department of Psychiatry Indiana University School of Medicine PR M116 Institute of Psychiatric Research 791 Union Drive Indianapolis, IN 46202 ? Preferred Mailing Address: ? 15032 Hunter Court Westfield, IN? 46074 ? (317) 490-5129 Work, & Mobile ? (317) 663-0513 Home (no voice mail please) 1-(317)-536-2730 FAX
reposTools reposTools • 719 views
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 9.6 years ago
Hi Mark, "Kimpel, Mark William" <mkimpel at="" iupui.edu=""> writes: > I have been depending on syncLocalLibList in reposTools of BioC > 1.8. As reposTools has been dropped from the current BioC release, can > I mimic the functionality of syncLocalLibList with some other > function? > > Below is the code I have previously used: > > require(reposTools) > > syncLocalLibList() > > most.recent.pckg.ver<-getPkgVers(as.character(annot.pckg))[[1]] Perhaps you can explain a bit more what it is you are trying to do. Based on the code, I think the goal is to determine the version for a given (already installed) package. Here are a few ways to do this: packageDescription("hgu95av2")$Version This only works for one package at a time. So you might need: sapply(pkgs, function(x) packageDescription(x)$Version) Another option is to query all installed packages: ap <- available.packages() ap[1:10, "Version"] If none of the above give you what you want, please let me know. Best, + seth
ADD COMMENT

Login before adding your answer.

Traffic: 413 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