Back to Multiple platform build/check report for BioC 3.7
ABCDEFGH[I]JKLMNOPQRSTUVWXYZ

CHECK report for illuminaio on tokay2

This page was generated on 2018-10-17 08:36:42 -0400 (Wed, 17 Oct 2018).

Package 723/1561HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
illuminaio 0.22.0
Kasper Daniel Hansen
Snapshot Date: 2018-10-15 16:45:08 -0400 (Mon, 15 Oct 2018)
URL: https://git.bioconductor.org/packages/illuminaio
Branch: RELEASE_3_7
Last Commit: dbd8423
Last Changed Date: 2018-04-30 10:35:27 -0400 (Mon, 30 Apr 2018)
malbec2 Linux (Ubuntu 16.04.1 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository
merida2 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: illuminaio
Version: 0.22.0
Command: C:\Users\biocbuild\bbs-3.7-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:illuminaio.install-out.txt --library=C:\Users\biocbuild\bbs-3.7-bioc\R\library --no-vignettes --timings illuminaio_0.22.0.tar.gz
StartedAt: 2018-10-17 02:46:45 -0400 (Wed, 17 Oct 2018)
EndedAt: 2018-10-17 02:47:54 -0400 (Wed, 17 Oct 2018)
EllapsedTime: 69.3 seconds
RetCode: 0
Status:  OK  
CheckDir: illuminaio.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.7-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:illuminaio.install-out.txt --library=C:\Users\biocbuild\bbs-3.7-bioc\R\library --no-vignettes --timings illuminaio_0.22.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.7-bioc/meat/illuminaio.Rcheck'
* using R version 3.5.1 Patched (2018-07-24 r75005)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'illuminaio/DESCRIPTION' ... OK
* this is package 'illuminaio' version '0.22.0'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'illuminaio' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* loading checks for arch 'x64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.7-bioc/R/library/illuminaio/libs/i386/illuminaio.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'readBPM.R'
  Running 'readIDAT_370k.R'
  Running 'readIDAT_370k_gz.R'
  Running 'readIDAT_450k.R'
  Running 'readIDAT_450k_gz.R'
  Running 'readIDAT_gs_wg6v2.R'
  Running 'readIDAT_ht12v4.R'
  Running 'readIDAT_wg6v2.R'
 OK
** running tests for arch 'x64' ...
  Running 'readBPM.R'
  Running 'readIDAT_370k.R'
  Running 'readIDAT_370k_gz.R'
  Running 'readIDAT_450k.R'
  Running 'readIDAT_450k_gz.R'
  Running 'readIDAT_gs_wg6v2.R'
  Running 'readIDAT_ht12v4.R'
  Running 'readIDAT_wg6v2.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 NOTE
See
  'C:/Users/biocbuild/bbs-3.7-bioc/meat/illuminaio.Rcheck/00check.log'
for details.



Installation output

illuminaio.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.7/bioc/src/contrib/illuminaio_0.22.0.tar.gz && rm -rf illuminaio.buildbin-libdir && mkdir illuminaio.buildbin-libdir && C:\Users\biocbuild\bbs-3.7-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=illuminaio.buildbin-libdir illuminaio_0.22.0.tar.gz && C:\Users\biocbuild\bbs-3.7-bioc\R\bin\R.exe CMD INSTALL illuminaio_0.22.0.zip && rm illuminaio_0.22.0.tar.gz illuminaio_0.22.0.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 29708  100 29708    0     0   511k      0 --:--:-- --:--:-- --:--:--  580k

install for i386

* installing *source* package 'illuminaio' ...
** libs
C:/Rtools/mingw_32/bin/gcc  -I"C:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O3 -Wall  -std=gnu99 -mtune=generic -c des.c -o des.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O3 -Wall  -std=gnu99 -mtune=generic -c local_des.c -o local_des.o
C:/Rtools/mingw_32/bin/gcc -shared -s -static-libgcc -o illuminaio.dll tmp.def des.o local_des.o -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.7-bioc/meat/illuminaio.buildbin-libdir/illuminaio/libs/i386
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'illuminaio'
    finding HTML links ... done
    readBGX                                 html  
    readBPM                                 html  
    readIDAT                                html  
** building package indices
** installing vignettes
** testing if installed package can be loaded
In R CMD INSTALL

install for x64

* installing *source* package 'illuminaio' ...
** libs
C:/Rtools/mingw_64/bin/gcc  -I"C:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O2 -Wall  -std=gnu99 -mtune=generic -c des.c -o des.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/include" -DNDEBUG     -I"C:/extsoft/include"     -O2 -Wall  -std=gnu99 -mtune=generic -c local_des.c -o local_des.o
C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o illuminaio.dll tmp.def des.o local_des.o -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.7-B/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.7-bioc/meat/illuminaio.buildbin-libdir/illuminaio/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'illuminaio' as illuminaio_0.22.0.zip
* DONE (illuminaio)
In R CMD INSTALL
In R CMD INSTALL
* installing to library 'C:/Users/biocbuild/bbs-3.7-bioc/R/library'
package 'illuminaio' successfully unpacked and MD5 sums checked
In R CMD INSTALL

Tests output

illuminaio.Rcheck/tests_i386/readBPM.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> ## System tests for readBPM()
> ##
> ## Data is automatically downloaded from Illumina (e.g. [1]), if missing.
> ##
> ## NOTE: These tests will only run if '_R_CHECK_FULL_' is set, i.e.
> ## they won't run on Bioconductor or CRAN servers.
> ##
> ## REFERENCES:
> ## [1] http://support.illumina.com/downloads/infinium_bovineld_beadchip_product_files.ilmn
> ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> if (FALSE && Sys.getenv("_R_CHECK_FULL_") != "") {
+ 
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## Utility functions
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ getIlluminaAnnotationFile <- function(chipType, filename, force=FALSE) {
+   # Share data files across architectures, e.g. tests_i386 and tests_x64.
+   rootPath <- "../annotationData,illuminaio,tests"
+   path <- file.path(rootPath, "chipTypes", chipType)
+   if (!file_test("-d", path)) dir.create(path, recursive=TRUE)
+   pathname <- file.path(path, filename)
+ 
+   # Already downloaded?
+   if (!force && file_test("-f", pathname)) return(pathname)
+ 
+   # Download from Illumina
+   urlRoot <- "http://supportres.illumina.com/documents/downloads/productfiles"
+   url <- file.path(urlRoot, chipType, filename)
+   download.file(url, destfile=pathname, mode="wb")
+   if (!file_test("-f", pathname)) stop("Failed to download file: ", url)
+ 
+   pathname
+ } # getIlluminaAnnotationFile()
+ 
+ 
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## Tests
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## pathname <- getIlluminaAnnotationFile("bovineld", "bovineld_c.bpm")
+ 
+ path <- "annotationData/chipTypes/HumanMethylation450"
+ filename <- "humanmethylation450_15017482_v-1-2.bpm"
+ pathname <- file.path(path,filename)
+ data <- illuminaio::readBPM(pathname)
+ str(data)
+ 
+ } # if (Sys.getenv("_R_CHECK_FULL_") != "")
> 
> proc.time()
   user  system elapsed 
   0.23    0.04    0.26 

illuminaio.Rcheck/tests_x64/readBPM.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> ## System tests for readBPM()
> ##
> ## Data is automatically downloaded from Illumina (e.g. [1]), if missing.
> ##
> ## NOTE: These tests will only run if '_R_CHECK_FULL_' is set, i.e.
> ## they won't run on Bioconductor or CRAN servers.
> ##
> ## REFERENCES:
> ## [1] http://support.illumina.com/downloads/infinium_bovineld_beadchip_product_files.ilmn
> ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> if (FALSE && Sys.getenv("_R_CHECK_FULL_") != "") {
+ 
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## Utility functions
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ getIlluminaAnnotationFile <- function(chipType, filename, force=FALSE) {
+   # Share data files across architectures, e.g. tests_i386 and tests_x64.
+   rootPath <- "../annotationData,illuminaio,tests"
+   path <- file.path(rootPath, "chipTypes", chipType)
+   if (!file_test("-d", path)) dir.create(path, recursive=TRUE)
+   pathname <- file.path(path, filename)
+ 
+   # Already downloaded?
+   if (!force && file_test("-f", pathname)) return(pathname)
+ 
+   # Download from Illumina
+   urlRoot <- "http://supportres.illumina.com/documents/downloads/productfiles"
+   url <- file.path(urlRoot, chipType, filename)
+   download.file(url, destfile=pathname, mode="wb")
+   if (!file_test("-f", pathname)) stop("Failed to download file: ", url)
+ 
+   pathname
+ } # getIlluminaAnnotationFile()
+ 
+ 
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## Tests
+ ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ ## pathname <- getIlluminaAnnotationFile("bovineld", "bovineld_c.bpm")
+ 
+ path <- "annotationData/chipTypes/HumanMethylation450"
+ filename <- "humanmethylation450_15017482_v-1-2.bpm"
+ pathname <- file.path(path,filename)
+ data <- illuminaio::readBPM(pathname)
+ str(data)
+ 
+ } # if (Sys.getenv("_R_CHECK_FULL_") != "")
> 
> proc.time()
   user  system elapsed 
   0.25    0.04    0.28 

illuminaio.Rcheck/tests_i386/readIDAT_370k.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.370k.rda"))
> idatFile <- system.file("extdata", "idat", "4019585376_B_Red.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> ## FIXME: IlluminaDataTestFiles needs to be updated according
> ##        to 'RunInfo' bug fix in illuminaio v0.11.2.
> if (packageVersion("illuminaio") > "0.11.1") idat$RunInfo[-(1:2),] <- NA
> RUnit::checkEquals(idat, idat.370k)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.82    0.10    2.54 

illuminaio.Rcheck/tests_x64/readIDAT_370k.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.370k.rda"))
> idatFile <- system.file("extdata", "idat", "4019585376_B_Red.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> ## FIXME: IlluminaDataTestFiles needs to be updated according
> ##        to 'RunInfo' bug fix in illuminaio v0.11.2.
> if (packageVersion("illuminaio") > "0.11.1") idat$RunInfo[-(1:2),] <- NA
> RUnit::checkEquals(idat, idat.370k)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.51    0.06    1.56 

illuminaio.Rcheck/tests_i386/readIDAT_370k_gz.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile1 <- system.file("extdata", "idat", "4019585376_B_Red.idat",
+                          package = "IlluminaDataTestFiles")
> idat1 <- illuminaio::readIDAT(idatFile1)
> idatFile2 <- system.file("extdata", "idat", "4019585376_B_Red.idat.gz",
+                          package = "IlluminaDataTestFiles")
> idat2 <- illuminaio::readIDAT(idatFile2)
> idat2$fileSize <- idat1$fileSize <- NULL
> RUnit::checkEquals(idat1, idat2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.89    0.10    2.56 

illuminaio.Rcheck/tests_x64/readIDAT_370k_gz.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile1 <- system.file("extdata", "idat", "4019585376_B_Red.idat",
+                          package = "IlluminaDataTestFiles")
> idat1 <- illuminaio::readIDAT(idatFile1)
> idatFile2 <- system.file("extdata", "idat", "4019585376_B_Red.idat.gz",
+                          package = "IlluminaDataTestFiles")
> idat2 <- illuminaio::readIDAT(idatFile2)
> idat2$fileSize <- idat1$fileSize <- NULL
> RUnit::checkEquals(idat1, idat2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.51    0.03    1.54 

illuminaio.Rcheck/tests_i386/readIDAT_450k.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.450k.rda"))
> idatFile <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.450k)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   3.82    0.17    6.23 

illuminaio.Rcheck/tests_x64/readIDAT_450k.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.450k.rda"))
> idatFile <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.450k)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   2.96    0.10    3.06 

illuminaio.Rcheck/tests_i386/readIDAT_450k_gz.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile1 <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat",
+                          package = "IlluminaDataTestFiles")
> idat1 <- illuminaio::readIDAT(idatFile1)
> idatFile2 <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat.gz",
+                          package = "IlluminaDataTestFiles")
> idat2 <- illuminaio::readIDAT(idatFile2)
> idat2$fileSize <- idat1$fileSize <- NULL
> RUnit::checkEquals(idat1, idat2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
    2.7     0.2     3.7 

illuminaio.Rcheck/tests_x64/readIDAT_450k_gz.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile1 <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat",
+                          package = "IlluminaDataTestFiles")
> idat1 <- illuminaio::readIDAT(idatFile1)
> idatFile2 <- system.file("extdata", "idat", "5723646052_R02C02_Grn.idat.gz",
+                          package = "IlluminaDataTestFiles")
> idat2 <- illuminaio::readIDAT(idatFile2)
> idat2$fileSize <- idat1$fileSize <- NULL
> RUnit::checkEquals(idat1, idat2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   2.26    0.10    2.36 

illuminaio.Rcheck/tests_i386/readIDAT_gs_wg6v2.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile <- system.file("extdata", "idat", "4343238080_A_Grn.idat", package = "IlluminaDataTestFiles")
> idatData <- readIDAT(idatFile)$Quants
> gsFile <- system.file("extdata", "gs", "4343238080_A_ProbeSummary.txt.gz", package = "IlluminaDataTestFiles")
> gStudio <- read.delim(gzfile(gsFile, open = "r"), sep = "\t", header = TRUE)
> 
> ## not all probes are present in GenomeStudio output, so only select those that are
> idatData <- idatData[which(idatData[,"CodesBinData"] %in% gStudio[,"ProbeID"]),]
> ## the orders are also different (numeric vs alphabetical)
> gStudio <- gStudio[match(idatData[,"CodesBinData"], gStudio[,"ProbeID"]),]
> # check each value in GenomeStudio output
> ## there are some rounding differences, so we allow slight differences
> 
> ## summarised bead intensities
> RUnit::checkEqualsNumeric(idatData[, "MeanBinData"], gStudio[, 3], tolerance = 10e-7)
[1] TRUE
> ## number of beads
> RUnit::checkEquals(idatData[, "NumGoodBeadsBinData"], gStudio[, 5])
[1] TRUE
> ## standard errors
> RUnit::checkEqualsNumeric(idatData[, "DevBinData"] / sqrt(idatData[, "NumGoodBeadsBinData"]), gStudio[, 4], tolerance = 10e-7)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.60    0.07    3.95 

illuminaio.Rcheck/tests_x64/readIDAT_gs_wg6v2.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> idatFile <- system.file("extdata", "idat", "4343238080_A_Grn.idat", package = "IlluminaDataTestFiles")
> idatData <- readIDAT(idatFile)$Quants
> gsFile <- system.file("extdata", "gs", "4343238080_A_ProbeSummary.txt.gz", package = "IlluminaDataTestFiles")
> gStudio <- read.delim(gzfile(gsFile, open = "r"), sep = "\t", header = TRUE)
> 
> ## not all probes are present in GenomeStudio output, so only select those that are
> idatData <- idatData[which(idatData[,"CodesBinData"] %in% gStudio[,"ProbeID"]),]
> ## the orders are also different (numeric vs alphabetical)
> gStudio <- gStudio[match(idatData[,"CodesBinData"], gStudio[,"ProbeID"]),]
> # check each value in GenomeStudio output
> ## there are some rounding differences, so we allow slight differences
> 
> ## summarised bead intensities
> RUnit::checkEqualsNumeric(idatData[, "MeanBinData"], gStudio[, 3], tolerance = 10e-7)
[1] TRUE
> ## number of beads
> RUnit::checkEquals(idatData[, "NumGoodBeadsBinData"], gStudio[, 5])
[1] TRUE
> ## standard errors
> RUnit::checkEqualsNumeric(idatData[, "DevBinData"] / sqrt(idatData[, "NumGoodBeadsBinData"]), gStudio[, 4], tolerance = 10e-7)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.57    0.10    2.76 

illuminaio.Rcheck/tests_i386/readIDAT_ht12v4.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.ht12v4.rda"))
> idatFile <- system.file("extdata", "idat", "6016741005_A_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.ht12v4)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.50    0.09    5.04 

illuminaio.Rcheck/tests_x64/readIDAT_ht12v4.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.ht12v4.rda"))
> idatFile <- system.file("extdata", "idat", "6016741005_A_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.ht12v4)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.29    0.09    2.00 

illuminaio.Rcheck/tests_i386/readIDAT_wg6v2.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.wg6v2.rda"))
> idatFile <- system.file("extdata", "idat", "4343238080_A_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.wg6v2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.67    0.12    2.81 

illuminaio.Rcheck/tests_x64/readIDAT_wg6v2.Rout


R version 3.5.1 Patched (2018-07-24 r75005) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(illuminaio)
> library(IlluminaDataTestFiles)
> 
> load(file.path(path.package("IlluminaDataTestFiles"), "extdata", "testData", "idat.wg6v2.rda"))
> idatFile <- system.file("extdata", "idat", "4343238080_A_Grn.idat",
+                         package = "IlluminaDataTestFiles")
> idat <- illuminaio::readIDAT(idatFile)
> RUnit::checkEquals(idat, idat.wg6v2)
[1] TRUE
> 
> proc.time()
   user  system elapsed 
   1.35    0.09    2.07 

Example timings

illuminaio.Rcheck/examples_i386/illuminaio-Ex.timings

nameusersystemelapsed
readIDAT0.170.031.13

illuminaio.Rcheck/examples_x64/illuminaio-Ex.timings

nameusersystemelapsed
readIDAT0.110.020.13