Skip to content

Commit

Permalink
BiocManager transition
Browse files Browse the repository at this point in the history
  • Loading branch information
benjjneb committed Oct 10, 2018
2 parents 50cecb2 + e1f7ff1 commit 10c0b15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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 10c0b15

Please sign in to comment.