Thanks for the reply. I agreed with you that it might be related with the BiocInstaller version. I used: biocLite("BiocUpgrade"); And chose "y" to upgrade all the packages. Then biocLite("KEGGprofile") in BiocInstaller 1.8.3 works for me.
2012/11/1 Vincent Carey <st...@channing.harvard.edu>: > installed successfully with R 2.15.1, note the BiocInstaller version which > is different from yours. Please upgrade and try again with full sessionInfo > if you have further problems > >> biocLite("KEGGprofile") > BioC_mirror: http://bioconductor.org > Using Bioconductor version 2.11 (BiocInstaller 1.8.3), R version 2.15. > Installing package(s) 'KEGGprofile' > trying URL > 'http://bioconductor.org/packages/2.11/bioc/src/contrib/KEGGprofile_1.0.0.tar.gz' > Content type 'application/x-gzip' length 431905 bytes (421 Kb) > opened URL > ================================================== > downloaded 421 Kb > > * installing *source* package 'KEGGprofile' ... > ** R > ** data > ** inst > ** preparing package for lazy loading > ** help > *** installing help indices > ** building package indices > ** installing vignettes > 'KEGGprofile.Rnw' using 'latin-9' > ** testing if installed package can be loaded > > * DONE (KEGGprofile) > > > On Thu, Nov 1, 2012 at 1:31 AM, slzhao <slz...@sibs.ac.cn> wrote: >> >> Hi all, >> >> I am the author of the package KEGGprofile. Some persons told me that >> they can't install KEGGprofile package via R code: >> source("http://bioconductor.org/biocLite.R"); >> biocLite("KEGGprofile"); >> The result was: >> BioC_mirror: http://bioconductor.org >> Using R version 2.15, BiocInstaller version 1.4.9. >> Installing package(s) 'KEGGprofile' >> Warning message: >> package‘KEGGprofile’is not available (for R version 2.15.1) >> >> I have tested it in R 2.15.1 and R 2.14.0 and found it was true. I >> have also tested some other packages in a smilar way and they can be >> installed. >> So I downloaded the Zip file for KEGGprofile package from the website >> and installed it local. It can be installed but when I use >> library(KEGGprofile), The result was: >> Error in eval(expr, envir, enclos) : >> could not find function ".getNamespace" >> In addition: Warning message: >> package ‘KEGGprofile’ was built under R version 2.16.0 >> Error : unable to load R code in package ‘KEGGprofile’ >> Error: package/namespace load failed for ‘KEGGprofile’ >> >> Then I used the Zip file build by myself. And it was completely OK in >> installation and running. >> I have also checked the checkResults page for the package, and the report >> is OK. >> >> Thank you! >> >> Shilin Zhao >> >> _______________________________________________ >> Bioc-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/bioc-devel > > _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel