Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bioc support #62

Merged
merged 3 commits into from
May 7, 2015
Merged

Bioc support #62

merged 3 commits into from
May 7, 2015

Conversation

khughitt
Copy link
Contributor

Added some logic to handle installation of packages from the popular Bioconductor repository.

The current approach first attempts installation using install.packages, and then if that fails, checks for the presence of Bioconductor on the user's machine and then attempts to install the package using the Bioconductor biocLite() method.

An alternative approach would be to require to explicit enabling of bioconductor repo use, e.g. p_load(xxx, use_bioconductor=TRUE). This could default to FALSE, but be controllable via an option in the user's .Rprofile.

@trinker
Copy link
Owner

trinker commented May 7, 2015

I tried this recently and it fails:

> p_load(GOstats)
Warning messages:
1: packageGOstatsis not available (for R version 3.2.0) 
2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package calledGOstats3: In p_load(GOstats) : Failed to install/load:
GOstats

http://www.bioconductor.org/packages/release/bioc/html/GOstats.html

I thought I had merged this pull request but am not sure anymore.

trinker added a commit that referenced this pull request May 7, 2015
@trinker trinker merged commit e86ec38 into trinker:master May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants