Skip to content

Commit

Permalink
replace BiocInstaller biocLite mentions with BiocManager
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Aug 30, 2018
1 parent d17e2f5 commit e1f7ff1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: The dada2 package infers exact amplicon sequence variants (ASVs) fr
removing substitution and chimera errors. Taxonomic classification is available
via a native implementation of the RDP naive Bayesian classifier, and genus-species
assignment by exact matching.
Version: 1.9.0
Version: 1.9.1
Date: 2018-1-30
Maintainer: Benjamin Callahan <benjamin.j.callahan@gmail.com>
Author: Benjamin Callahan <benjamin.j.callahan@gmail.com>, Paul McMurdie, Susan
Expand Down
5 changes: 3 additions & 2 deletions R/misc.R
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ is.list.of <- function(x, ctype) {

#' @keywords internal
bcinstall <- function(pkg="dada2", suppressUpdates=TRUE) {
source("https://bioconductor.org/biocLite.R")
biocLite(pkg, suppressUpdates=suppressUpdates)
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install(pkg, suppressUpdates=suppressUpdates)
}

#' @keywords internal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ The dada2 package binaries are available through Bioconductor:

```S
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("dada2")
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("dada2")
```

In order to install dada2 from source (and get the latest and greatest new features) see our [installation from source instructions](https://benjjneb.github.io/dada2/dada-installation.html).
Expand Down

0 comments on commit e1f7ff1

Please sign in to comment.