Skip to content

Commit 7e9f7ef

Browse files
author
khansen
committed
added unit testing placeholders
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/minfi@68845 bc3139a8-67e5-0310-9ffc-ced21a209358
1 parent 1dfe899 commit 7e9f7ef

File tree

5 files changed

+16
-38
lines changed

5 files changed

+16
-38
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Package: minfi
2-
Version: 1.3.4
2+
Version: 1.3.5
33
Title: Analyze Illumina's 450k methylation arrays
44
Description: Tools for analyzing and visualizing Illumina's 450k array data
55
Author: Kasper Daniel Hansen, Martin Aryee
66
Maintainer: Kasper Daniel Hansen <[email protected]>
77
Depends: methods, BiocGenerics (>= 0.1.0), Biobase (>= 2.15.1), lattice, reshape, GenomicRanges
8-
Suggests: IlluminaHumanMethylation450kmanifest (>= 0.2.0), minfiData (>= 0.2.0), Biostrings
8+
Suggests: IlluminaHumanMethylation450kmanifest (>= 0.2.0), minfiData (>= 0.2.0), Biostrings, RUnit
99
Imports: beanplot, RColorBrewer, nor1mix, siggenes, limma, preprocessCore, crlmm, matrixStats, mclust
1010
License: Artistic-2.0
1111
LazyData: yes

NAMESPACE

+7-36
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,17 @@
11
import(methods)
22
import(matrixStats)
33
importFrom(BiocGenerics, combine, updateObject, getObjectSlots)
4-
importClassesFrom(Biobase, aggregator, container, eSet,
5-
MIAxE, MIAME, characterORMIAME,
6-
annotatedDataset, AssayData, data.frameOrNULL,
7-
AnnotatedDataFrame,
8-
Versions, VersionsNull, Versioned, VersionedBiobase,
9-
ScalarObject, ScalarInteger, ScalarLogical, ScalarNumeric,
10-
ScalarCharacter)
11-
importMethodsFrom(Biobase, "[", "[[", "$", abstract, aggenv, aggfun,
12-
annotatedDataFrameFrom, annotation,
13-
channel, channelNames, coerce,
14-
combine, content, contents, description, dims, eList,
15-
experimentData, expinfo, exprs,
16-
featureNames, featureData, fData, fvarLabels, fvarMetadata,
17-
geneNames, getExpData,
18-
hybridizations, initfun,
19-
length, locked, makeDataPackage, normControls, notes, otherInfo, pData,
20-
phenoData, preproc, protocolData, sampleNames, samples, se.exprs,
21-
selectChannels, snpCall, snpCallProbability, storageMode,
22-
varLabels, varMetadata,
23-
"annotation<-", "description<-", "dimLabels<-", "eList<-",
24-
"experimentData<-", "exprs<-",
25-
"featureNames<-", "featureData<-", "fData<-", "fvarLabels<-", "fvarMetadata<-",
26-
"geneNames<-", "notes<-", "preproc<-", "pData<-",
27-
"phenoData<-", "protocolData<-", "sampleNames<-",
28-
"snpCall<-", "snpCallProbability<-", "varLabels<-",
29-
"varMetadata<-", "assayData<-", "se.exprs<-", "storageMode<-",
30-
"write.exprs", dim, dimLabels, assayData, reporterNames, "reporterNames<-",
31-
pubMedIds, "pubMedIds<-",
32-
isVersioned, isCurrent, classVersion, "classVersion<-",
33-
updateObject, updateObjectTo,
34-
initialize, Compare)
4+
importClassesFrom(Biobase, AnnotatedDataFrame, AssayData, eSet, MIAxE,
5+
Versions)
6+
importMethodsFrom(Biobase, annotation, "annotation<-", channel,
7+
classVersion, experimentData, featureData,
8+
featureNames, "featureNames<-", isCurrent, "pData<-",
9+
phenoData, protocolData, sampleNames)
3510
import(GenomicRanges)
36-
37-
## including show in this import fails with obscure message during an installation
38-
## either R CMD build (which will install the package in order to build vignette
39-
## or by R CMD build --no-vignettes followed by R CMD INSTALL
40-
4111
importFrom(Biobase, assayDataElementNames,
4212
assayDataElement, assayDataElementReplace, "assayDataElement<-",
4313
"cache", "copyEnv", "copySubstitute")
14+
4415
importFrom(reshape, melt)
4516
importFrom(mclust, Mclust)
4617
importFrom(RColorBrewer, brewer.pal)

inst/NEWS.Rd

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
\item Changed the function manifestNew() to
1111
IlluminaMethylationManifest().
1212
\item Added IlluminaMethylationAnnotation().
13+
\item Added placeholders for unit testing based on RUnit.
1314
}
1415
}
1516

inst/unitTests/test_base.R

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
test_base <- function() {
2+
checkTrue(TRUE)
3+
}
4+

tests/runTests.R

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require("minfi") || stop("unable to load minfi")
2+
BiocGenerics:::testPackage("minfi")

0 commit comments

Comments
 (0)