Skip to content

Commit

Permalink
Removing devtools from requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagochst committed May 21, 2016
1 parent af2336a commit a328323
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ Imports:
GenomicFeatures,
TxDb.Hsapiens.UCSC.hg19.knownGene,
limma,
devtools,
genefilter,
ConsensusClusterPlus,
RColorBrewer,
Expand Down Expand Up @@ -100,7 +99,8 @@ Suggests:
testthat,
png,
BiocStyle,
rmarkdown
rmarkdown,
devtools
VignetteBuilder: knitr
LazyData: true
URL: https://github.com/BioinformaticsFMRP/TCGAbiolinks
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ importFrom(data.table,setDF)
importFrom(data.table,setDT)
importFrom(data.table,setcolorder)
importFrom(data.table,setnames)
importFrom(devtools,load_all)
importFrom(devtools,use_data)
importFrom(dnet,dCommSignif)
importFrom(dnet,dNetInduce)
importFrom(dnet,dNetPipeline)
Expand Down
7 changes: 5 additions & 2 deletions R/TCGAupdate.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,11 @@ tcgaGetTable <- function(url, max = 0) {
#'
#' The package will be updated with lastest version of the table every week.
#' @return platform/center/disease/data tables will be updated in the package
#' @importFrom devtools use_data load_all
# @importFrom devtools use_data load_all
#' @keywords internal
TCGAUpdate <- function(){
if (requireNamespace("devtools", quietly = TRUE)) {

tcga.root <- "http://tcga-data.nci.nih.gov/tcgadccws/GetHTML?"

# Get platform table
Expand Down Expand Up @@ -252,14 +254,15 @@ TCGAUpdate <- function(){

gene.location <- get.GRCh.bioMart()
#gene.location <- get("gene.location")
use_data(platform.table, disease.table, tcga.db, center.table,
devtools::use_data(platform.table, disease.table, tcga.db, center.table,
DAVID_BP_matrix,DAVID_CC_matrix,DAVID_MF_matrix,
EAGenes,gene.location,listEA_pathways, acc.subtype,
lgg.gbm.subtype, luad.subtype,skcm.subtype,
hnsc.subtype, kich.subtype, lusc.subtype, ucec.subtype,
pancan.subtype, thca.subtype, prad.subtype, kirp.subtype, kirc.subtype,
stad.subtype, brca.subtype, coad.subtype,
internal = TRUE,overwrite = TRUE)
}
}


Expand Down
2 changes: 1 addition & 1 deletion vignettes/tcgaBiolinks.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ knitr::opts_chunk$set(cache=FALSE)
```

```{r, echo = FALSE,hide=TRUE, message=FALSE,warning=FALSE}
devtools::load_all(".")
library("TCGAbiolinks")
```

## Introduction
Expand Down

0 comments on commit a328323

Please sign in to comment.