Back to Multiple platform build/check report for BioC 3.10
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

CHECK report for SAIGEgds on tokay1

This page was generated on 2020-04-15 12:33:18 -0400 (Wed, 15 Apr 2020).

Package 1509/1823HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
SAIGEgds 1.0.2
Xiuwen Zheng
Snapshot Date: 2020-04-14 16:46:13 -0400 (Tue, 14 Apr 2020)
URL: https://git.bioconductor.org/packages/SAIGEgds
Branch: RELEASE_3_10
Last Commit: 39ef568
Last Changed Date: 2020-04-08 18:49:04 -0400 (Wed, 08 Apr 2020)
malbec1 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay1 Windows Server 2012 R2 Standard / x64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository
merida1 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: SAIGEgds
Version: 1.0.2
Command: C:\Users\biocbuild\bbs-3.10-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:SAIGEgds.install-out.txt --library=C:\Users\biocbuild\bbs-3.10-bioc\R\library --no-vignettes --timings SAIGEgds_1.0.2.tar.gz
StartedAt: 2020-04-15 06:22:23 -0400 (Wed, 15 Apr 2020)
EndedAt: 2020-04-15 06:25:36 -0400 (Wed, 15 Apr 2020)
EllapsedTime: 193.5 seconds
RetCode: 0
Status:  OK  
CheckDir: SAIGEgds.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.10-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:SAIGEgds.install-out.txt --library=C:\Users\biocbuild\bbs-3.10-bioc\R\library --no-vignettes --timings SAIGEgds_1.0.2.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.10-bioc/meat/SAIGEgds.Rcheck'
* using R version 3.6.3 (2020-02-29)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'SAIGEgds/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'SAIGEgds' version '1.0.2'
* 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 'SAIGEgds' 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 ... NOTE
':::' call which should be '::': 'SPAtest:::ScoreTest_wSaddleApprox_NULL_Model'
  See the note in ?`:::` about the use of this operator.
Unexported objects imported by ':::' calls:
  'SPAtest:::ScoreTest_wSaddleApprox_Get_X1' 'SeqArray:::.IsForking'
  'SeqArray:::.NumParallel' 'SeqArray:::.seqGet2bGeno'
  See the note in ?`:::` about the use of this operator.
* 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 line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... NOTE
GNU make is a SystemRequirements.
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... 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.10-bioc/R/library/SAIGEgds/libs/i386/SAIGEgds.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)
File 'C:/Users/biocbuild/bbs-3.10-bioc/R/library/SAIGEgds/libs/x64/SAIGEgds.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)

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
Examples with CPU or elapsed time > 5s
                   user system elapsed
seqAssocGLMM_SPA   6.37   0.03    6.57
seqFitNullGLMM_SPA 5.47   0.03    5.52
SAIGEgds-package   5.47   0.02    6.23
** running examples for arch 'x64' ... OK
Examples with CPU or elapsed time > 5s
                 user system elapsed
seqAssocGLMM_SPA 5.14   0.01    5.41
SAIGEgds-package 4.57   0.02    5.19
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'runTests.R'
 OK
** running tests for arch 'x64' ...
  Running 'runTests.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: 3 NOTEs
See
  'C:/Users/biocbuild/bbs-3.10-bioc/meat/SAIGEgds.Rcheck/00check.log'
for details.



Installation output

SAIGEgds.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec1.bioconductor.org/BBS/3.10/bioc/src/contrib/SAIGEgds_1.0.2.tar.gz && rm -rf SAIGEgds.buildbin-libdir && mkdir SAIGEgds.buildbin-libdir && C:\Users\biocbuild\bbs-3.10-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=SAIGEgds.buildbin-libdir SAIGEgds_1.0.2.tar.gz && C:\Users\biocbuild\bbs-3.10-bioc\R\bin\R.exe CMD INSTALL SAIGEgds_1.0.2.zip && rm SAIGEgds_1.0.2.tar.gz SAIGEgds_1.0.2.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 1395k  100 1395k    0     0  3477k      0 --:--:-- --:--:-- --:--:-- 3514k

install for i386

* installing *source* package 'SAIGEgds' ...
** using staged installation
** libs
C:/Rtools/mingw_32/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c SPATest.cpp -o SPATest.o
SPATest.cpp: In function 'double Saddle_Prob_Fast(double, double, double, size_t, const double*, const double*, size_t, const int*, double, bool&, double*)':
SPATest.cpp:217:40: warning: 'NAsigma' may be used uninitialized in this function [-Wmaybe-uninitialized]
  double k2 = K2(t, n_nonzero, mu, g) + NAsigma;
                                        ^
SPATest.cpp:308:15: note: 'NAsigma' was declared here
  double NAmu, NAsigma;
               ^
SPATest.cpp:216:47: warning: 'NAmu' may be used uninitialized in this function [-Wmaybe-uninitialized]
  double K  = Korg(t, n_nonzero, mu, g) + NAmu * t + 0.5 * NAsigma * t * t;
                                               ^
SPATest.cpp:308:9: note: 'NAmu' was declared here
  double NAmu, NAsigma;
         ^
C:/Rtools/mingw_32/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c saige_fitnull.cpp -o saige_fitnull.o
C:/Rtools/mingw_32/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c saige_main.cpp -o saige_main.o
C:/Rtools/mingw_32/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c vectorization.cpp -o vectorization.o
C:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o SAIGEgds.dll tmp.def SPATest.o saige_fitnull.o saige_main.o vectorization.o -lm -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/i386 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/i386 -lRblas -lgfortran -lm -lquadmath -LC:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/lib/i386 -ltbb -ltbbmalloc -lgcc -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.10-bioc/meat/SAIGEgds.buildbin-libdir/00LOCK-SAIGEgds/00new/SAIGEgds/libs/i386
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'SAIGEgds'
    finding HTML links ... done
    SAIGEgds-package                        html  
    seqAssocGLMM_SPA                        html  
    finding level-2 HTML links ... done

    seqFitNullGLMM_SPA                      html  
    seqSAIGE_LoadPval                       html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path

install for x64

* installing *source* package 'SAIGEgds' ...
** libs
C:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c SPATest.cpp -o SPATest.o
SPATest.cpp: In function 'double Saddle_Prob_Fast(double, double, double, size_t, const double*, const double*, size_t, const int*, double, bool&, double*)':
SPATest.cpp:217:40: warning: 'NAsigma' may be used uninitialized in this function [-Wmaybe-uninitialized]
  double k2 = K2(t, n_nonzero, mu, g) + NAsigma;
                                        ^
SPATest.cpp:308:15: note: 'NAsigma' was declared here
  double NAmu, NAsigma;
               ^
SPATest.cpp:166:53: warning: 'NAmu' may be used uninitialized in this function [-Wmaybe-uninitialized]
    double newK1 = K1_adj(tnew, n_nonzero, mu, g, q) +
                                                     ^
SPATest.cpp:308:9: note: 'NAmu' was declared here
  double NAmu, NAsigma;
         ^
C:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c saige_fitnull.cpp -o saige_fitnull.o
C:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c saige_main.cpp -o saige_main.o
C:/Rtools/mingw_64/bin/g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.10-/R/include" -DNDEBUG  -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/Rcpp/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppArmadillo/include" -I"C:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/include"   -I"C:/extsoft/include"  -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mtune=core2 -c vectorization.cpp -o vectorization.o
C:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o SAIGEgds.dll tmp.def SPATest.o saige_fitnull.o saige_main.o vectorization.o -lm -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/x64 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -LC:/Users/biocbuild/bbs-3.10-bioc/R/library/RcppParallel/lib/x64 -ltbb -ltbbmalloc -lgcc -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.10-/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.10-bioc/meat/SAIGEgds.buildbin-libdir/SAIGEgds/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'SAIGEgds' as SAIGEgds_1.0.2.zip
* DONE (SAIGEgds)
* installing to library 'C:/Users/biocbuild/bbs-3.10-bioc/R/library'
package 'SAIGEgds' successfully unpacked and MD5 sums checked

Tests output

SAIGEgds.Rcheck/tests_i386/runTests.Rout


R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 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.

> BiocGenerics:::testPackage("SAIGEgds")
SAIGE association analysis:
Wed Apr 15 06:25:00 2020
Filtering variants:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
Fit the null model: y ~ x1 + x2 + var(GRM)
    # of samples: 1,000
    # of variants: 9,976
    using 1 thread
Transform on the design matrix with QR decomposition:
    new formula: y ~ x0 + x1 + x2 - 1
Start loading SNP genotypes:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 1s
    using 6.4M (sparse matrix)
Binary outcome: y
       y Number Proportion
       0    902      0.902
       1     98      0.098
Initial fixed-effect coefficients:
          x0         x1         x2
    2.520514 -0.7666948 -0.4557928
Initial variance component estimates, tau:
    Sigma_E: 1, Sigma_G: 0.499412
Iteration 1:
    tau: (1, 0.4994116)
    fixed coeff: (2.520514, -0.7666948, -0.4557928)
Iteration 2:
    tau: (1, 0.3287896)
    fixed coeff: (2.521231, -0.776603, -0.4592503)
Iteration 3:
    tau: (1, 0.2817812)
    fixed coeff: (2.525954, -0.7738757, -0.4579659)
Iteration 4:
    tau: (1, 0.3211452)
    fixed coeff: (2.525719, -0.7730823, -0.4577413)
Iteration 5:
    tau: (1, 0.3361534)
    fixed coeff: (2.527166, -0.7739766, -0.4579633)
Final tau: (1, 0.3322063)
    fixed coeff: (2.527666, -0.774237, -0.4580237)
Calculate the average ratio of variances:
Wed Apr 15 06:25:06 2020
     1, maf: 0.0775, mac: 155,	ratio: 0.9387 (var1: 0.0736, var2: 0.0785)
     2, maf: 0.0355, mac: 71,	ratio: 0.9362 (var1: 0.0671, var2: 0.0716)
     3, maf: 0.0730, mac: 146,	ratio: 0.9323 (var1: 0.0799, var2: 0.0857)
     4, maf: 0.0160, mac: 32,	ratio: 0.9481 (var1: 0.0653, var2: 0.0689)
     5, maf: 0.0585, mac: 117,	ratio: 0.9382 (var1: 0.0743, var2: 0.0791)
     6, maf: 0.0155, mac: 31,	ratio: 0.9388 (var1: 0.0754, var2: 0.0803)
     7, maf: 0.3075, mac: 615,	ratio: 0.9400 (var1: 0.0521, var2: 0.0554)
     8, maf: 0.0715, mac: 143,	ratio: 0.9416 (var1: 0.0714, var2: 0.0759)
     9, maf: 0.0115, mac: 23,	ratio: 0.9375 (var1: 0.0844, var2: 0.09)
    10, maf: 0.0470, mac: 94,	ratio: 0.9466 (var1: 0.0719, var2: 0.0759)
    11, maf: 0.0310, mac: 62,	ratio: 0.9335 (var1: 0.073, var2: 0.0782)
    12, maf: 0.1340, mac: 268,	ratio: 0.9381 (var1: 0.0633, var2: 0.0675)
    13, maf: 0.0855, mac: 171,	ratio: 0.9412 (var1: 0.0746, var2: 0.0792)
    14, maf: 0.1610, mac: 322,	ratio: 0.9379 (var1: 0.0647, var2: 0.069)
    15, maf: 0.0340, mac: 68,	ratio: 0.9471 (var1: 0.0685, var2: 0.0724)
    16, maf: 0.0215, mac: 43,	ratio: 0.9353 (var1: 0.0805, var2: 0.086)
    17, maf: 0.0600, mac: 120,	ratio: 0.9489 (var1: 0.0707, var2: 0.0745)
    18, maf: 0.0285, mac: 57,	ratio: 0.9455 (var1: 0.0732, var2: 0.0774)
    19, maf: 0.0145, mac: 29,	ratio: 0.9436 (var1: 0.0705, var2: 0.0747)
    20, maf: 0.0130, mac: 26,	ratio: 0.9454 (var1: 0.0688, var2: 0.0728)
    21, maf: 0.1350, mac: 270,	ratio: 0.9422 (var1: 0.0624, var2: 0.0663)
    22, maf: 0.0315, mac: 63,	ratio: 0.9342 (var1: 0.0699, var2: 0.0748)
    23, maf: 0.0475, mac: 95,	ratio: 0.9348 (var1: 0.0737, var2: 0.0788)
    24, maf: 0.2475, mac: 495,	ratio: 0.9360 (var1: 0.06, var2: 0.0641)
    25, maf: 0.0135, mac: 27,	ratio: 0.9523 (var1: 0.0622, var2: 0.0654)
    26, maf: 0.4915, mac: 983,	ratio: 0.9433 (var1: 0.0362, var2: 0.0383)
    27, maf: 0.0525, mac: 105,	ratio: 0.9366 (var1: 0.0734, var2: 0.0783)
    28, maf: 0.0195, mac: 39,	ratio: 0.9421 (var1: 0.0741, var2: 0.0787)
    29, maf: 0.0270, mac: 54,	ratio: 0.9502 (var1: 0.0718, var2: 0.0756)
    30, maf: 0.0380, mac: 76,	ratio: 0.9453 (var1: 0.0733, var2: 0.0776)
    ratio avg. is 0.9410507, sd: 0.005353982
Wed Apr 15 06:25:06 2020
Done.
SAIGE association analysis:
Wed Apr 15 06:25:06 2020
Filtering variants:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
Fit the null model: yy ~ x1 + x2 + var(GRM)
    # of samples: 1,000
    # of variants: 9,976
    using 1 thread
Transform on the design matrix with QR decomposition:
    new formula: y ~ x0 + x1 + x2 - 1
Start loading SNP genotypes:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
    using 6.4M (sparse matrix)
Quantitative outcome: yy
        mean        sd    min    max
    4.987525 0.9817471 1.6383 7.6701
Inverse normal transformation on residuals with standard deviation: 0.981695
Initial fixed-effect coefficients:
               x0           x1          x2
    -8.312793e-17 -0.003167949 0.001143224
Initial variance component estimates, tau:
    Sigma_E: 0.481718, Sigma_G: 0.481718
Iteration 1:
    tau: (0.5780754, 0.4791097)
    fixed coeff: (-8.312793e-17, -0.003167949, 0.001143224)
Iteration 2:
    tau: (0.7700948, 0.1571539)
    fixed coeff: (7.969752e-07, -0.01596609, -0.004398386)
Iteration 3:
    tau: (0.8649753, 0.0670912)
    fixed coeff: (3.558187e-07, -0.01030783, 3.137729e-05)
Iteration 4:
    tau: (0.9159832, 0.02884355)
    fixed coeff: (2.850052e-07, -0.006806145, 0.00088392)
Iteration 5:
    tau: (0.942882, 0)
    fixed coeff: (1.393627e-06, -0.004853796, 0.001081237)
Final tau: (0.9701727, 0)
    fixed coeff: (-8.366439e-17, -0.003167949, 0.001143224)
Calculate the average ratio of variances:
Wed Apr 15 06:25:15 2020
     1, maf: 0.0775, mac: 155,	ratio: 1.0307 (var1: 1.02, var2: 0.985)
     2, maf: 0.0355, mac: 71,	ratio: 1.0307 (var1: 0.955, var2: 0.927)
     3, maf: 0.0730, mac: 146,	ratio: 1.0307 (var1: 1, var2: 0.975)
     4, maf: 0.0160, mac: 32,	ratio: 1.0307 (var1: 0.994, var2: 0.964)
     5, maf: 0.0585, mac: 117,	ratio: 1.0307 (var1: 1.01, var2: 0.984)
     6, maf: 0.0155, mac: 31,	ratio: 1.0307 (var1: 0.998, var2: 0.968)
     7, maf: 0.3075, mac: 615,	ratio: 1.0307 (var1: 0.707, var2: 0.686)
     8, maf: 0.0715, mac: 143,	ratio: 1.0307 (var1: 0.969, var2: 0.94)
     9, maf: 0.0115, mac: 23,	ratio: 1.0307 (var1: 1, var2: 0.974)
    10, maf: 0.0470, mac: 94,	ratio: 1.0307 (var1: 0.999, var2: 0.969)
    11, maf: 0.0310, mac: 62,	ratio: 1.0307 (var1: 0.997, var2: 0.967)
    12, maf: 0.1340, mac: 268,	ratio: 1.0307 (var1: 0.882, var2: 0.855)
    13, maf: 0.0855, mac: 171,	ratio: 1.0307 (var1: 0.975, var2: 0.946)
    14, maf: 0.1610, mac: 322,	ratio: 1.0307 (var1: 0.878, var2: 0.851)
    15, maf: 0.0340, mac: 68,	ratio: 1.0307 (var1: 0.99, var2: 0.96)
    16, maf: 0.0215, mac: 43,	ratio: 1.0307 (var1: 0.986, var2: 0.957)
    17, maf: 0.0600, mac: 120,	ratio: 1.0307 (var1: 0.987, var2: 0.958)
    18, maf: 0.0285, mac: 57,	ratio: 1.0307 (var1: 0.972, var2: 0.943)
    19, maf: 0.0145, mac: 29,	ratio: 1.0307 (var1: 1, var2: 0.97)
    20, maf: 0.0130, mac: 26,	ratio: 1.0307 (var1: 1, var2: 0.973)
    21, maf: 0.1350, mac: 270,	ratio: 1.0307 (var1: 0.866, var2: 0.84)
    22, maf: 0.0315, mac: 63,	ratio: 1.0307 (var1: 1.03, var2: 0.998)
    23, maf: 0.0475, mac: 95,	ratio: 1.0307 (var1: 0.954, var2: 0.925)
    24, maf: 0.2475, mac: 495,	ratio: 1.0307 (var1: 0.791, var2: 0.767)
    25, maf: 0.0135, mac: 27,	ratio: 1.0307 (var1: 0.999, var2: 0.969)
    26, maf: 0.4915, mac: 983,	ratio: 1.0307 (var1: 0.491, var2: 0.476)
    27, maf: 0.0525, mac: 105,	ratio: 1.0307 (var1: 0.98, var2: 0.951)
    28, maf: 0.0195, mac: 39,	ratio: 1.0307 (var1: 0.99, var2: 0.961)
    29, maf: 0.0270, mac: 54,	ratio: 1.0307 (var1: 0.972, var2: 0.943)
    30, maf: 0.0380, mac: 76,	ratio: 1.0307 (var1: 1.01, var2: 0.976)
    ratio avg. is 1.030744, sd: 1.486664e-16
Wed Apr 15 06:25:15 2020
Done.
SAIGE association analysis:
    # of samples: 1,000
    # of variants: 10,000
    MAF threshold: NaN
    MAC threshold: 4
    missing threshold for variants: 0.1
    p-value threshold for SPA adjustment: 0.05
    variance ratio for approximation: 0.9410486
    # of processes: 1

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 1s
# of variants after filtering by MAF, MAC and missing thresholds: 10,000
Done.
SAIGE association analysis:
    # of samples: 1,000
    # of variants: 10,000
    MAF threshold: NaN
    MAC threshold: 4
    missing threshold for variants: 0.1
    p-value threshold for SPA adjustment: 0.05
    variance ratio for approximation: 1.030744
    # of processes: 1

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
# of variants after filtering by MAF, MAC and missing thresholds: 10,000
Done.


RUNIT TEST PROTOCOL -- Wed Apr 15 06:25:17 2020 
*********************************************** 
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
SAIGEgds RUnit Tests - 2 test functions, 0 errors, 0 failures
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
  19.87    0.45   20.64 

SAIGEgds.Rcheck/tests_x64/runTests.Rout


R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 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.

> BiocGenerics:::testPackage("SAIGEgds")
SAIGE association analysis:
Wed Apr 15 06:25:21 2020
Filtering variants:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
Fit the null model: y ~ x1 + x2 + var(GRM)
    # of samples: 1,000
    # of variants: 9,976
    using 1 thread
Transform on the design matrix with QR decomposition:
    new formula: y ~ x0 + x1 + x2 - 1
Start loading SNP genotypes:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
    using 6.6M (sparse matrix)
Binary outcome: y
       y Number Proportion
       0    902      0.902
       1     98      0.098
Initial fixed-effect coefficients:
          x0         x1         x2
    2.520514 -0.7666948 -0.4557928
Initial variance component estimates, tau:
    Sigma_E: 1, Sigma_G: 0.499412
Iteration 1:
    tau: (1, 0.4994116)
    fixed coeff: (2.520514, -0.7666948, -0.4557928)
Iteration 2:
    tau: (1, 0.3287896)
    fixed coeff: (2.521231, -0.776603, -0.4592503)
Iteration 3:
    tau: (1, 0.2817812)
    fixed coeff: (2.525954, -0.7738757, -0.4579659)
Iteration 4:
    tau: (1, 0.3211452)
    fixed coeff: (2.525719, -0.7730823, -0.4577413)
Iteration 5:
    tau: (1, 0.3361534)
    fixed coeff: (2.527166, -0.7739766, -0.4579633)
Final tau: (1, 0.3322063)
    fixed coeff: (2.527666, -0.774237, -0.4580237)
Calculate the average ratio of variances:
Wed Apr 15 06:25:25 2020
     1, maf: 0.0775, mac: 155,	ratio: 0.9387 (var1: 0.0736, var2: 0.0785)
     2, maf: 0.0355, mac: 71,	ratio: 0.9362 (var1: 0.0671, var2: 0.0716)
     3, maf: 0.0730, mac: 146,	ratio: 0.9323 (var1: 0.0799, var2: 0.0857)
     4, maf: 0.0160, mac: 32,	ratio: 0.9481 (var1: 0.0653, var2: 0.0689)
     5, maf: 0.0585, mac: 117,	ratio: 0.9382 (var1: 0.0743, var2: 0.0791)
     6, maf: 0.0155, mac: 31,	ratio: 0.9388 (var1: 0.0754, var2: 0.0803)
     7, maf: 0.3075, mac: 615,	ratio: 0.9400 (var1: 0.0521, var2: 0.0554)
     8, maf: 0.0715, mac: 143,	ratio: 0.9416 (var1: 0.0714, var2: 0.0759)
     9, maf: 0.0115, mac: 23,	ratio: 0.9375 (var1: 0.0844, var2: 0.09)
    10, maf: 0.0470, mac: 94,	ratio: 0.9466 (var1: 0.0719, var2: 0.0759)
    11, maf: 0.0310, mac: 62,	ratio: 0.9335 (var1: 0.073, var2: 0.0782)
    12, maf: 0.1340, mac: 268,	ratio: 0.9381 (var1: 0.0633, var2: 0.0675)
    13, maf: 0.0855, mac: 171,	ratio: 0.9412 (var1: 0.0746, var2: 0.0792)
    14, maf: 0.1610, mac: 322,	ratio: 0.9379 (var1: 0.0647, var2: 0.069)
    15, maf: 0.0340, mac: 68,	ratio: 0.9471 (var1: 0.0685, var2: 0.0724)
    16, maf: 0.0215, mac: 43,	ratio: 0.9353 (var1: 0.0805, var2: 0.086)
    17, maf: 0.0600, mac: 120,	ratio: 0.9489 (var1: 0.0707, var2: 0.0745)
    18, maf: 0.0285, mac: 57,	ratio: 0.9455 (var1: 0.0732, var2: 0.0774)
    19, maf: 0.0145, mac: 29,	ratio: 0.9436 (var1: 0.0705, var2: 0.0747)
    20, maf: 0.0130, mac: 26,	ratio: 0.9454 (var1: 0.0688, var2: 0.0728)
    21, maf: 0.1350, mac: 270,	ratio: 0.9422 (var1: 0.0624, var2: 0.0663)
    22, maf: 0.0315, mac: 63,	ratio: 0.9342 (var1: 0.0699, var2: 0.0748)
    23, maf: 0.0475, mac: 95,	ratio: 0.9348 (var1: 0.0737, var2: 0.0788)
    24, maf: 0.2475, mac: 495,	ratio: 0.9360 (var1: 0.06, var2: 0.0641)
    25, maf: 0.0135, mac: 27,	ratio: 0.9523 (var1: 0.0622, var2: 0.0654)
    26, maf: 0.4915, mac: 983,	ratio: 0.9433 (var1: 0.0362, var2: 0.0383)
    27, maf: 0.0525, mac: 105,	ratio: 0.9366 (var1: 0.0734, var2: 0.0783)
    28, maf: 0.0195, mac: 39,	ratio: 0.9421 (var1: 0.0741, var2: 0.0787)
    29, maf: 0.0270, mac: 54,	ratio: 0.9502 (var1: 0.0718, var2: 0.0756)
    30, maf: 0.0380, mac: 76,	ratio: 0.9453 (var1: 0.0733, var2: 0.0776)
    ratio avg. is 0.9410507, sd: 0.005353982
Wed Apr 15 06:25:25 2020
Done.
SAIGE association analysis:
Wed Apr 15 06:25:25 2020
Filtering variants:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 1s
Fit the null model: yy ~ x1 + x2 + var(GRM)
    # of samples: 1,000
    # of variants: 9,976
    using 1 thread
Transform on the design matrix with QR decomposition:
    new formula: y ~ x0 + x1 + x2 - 1
Start loading SNP genotypes:

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
    using 6.6M (sparse matrix)
Quantitative outcome: yy
        mean        sd    min    max
    4.987525 0.9817471 1.6383 7.6701
Inverse normal transformation on residuals with standard deviation: 0.981695
Initial fixed-effect coefficients:
               x0           x1          x2
    -7.900429e-17 -0.003167949 0.001143224
Initial variance component estimates, tau:
    Sigma_E: 0.481718, Sigma_G: 0.481718
Iteration 1:
    tau: (0.5780754, 0.4791097)
    fixed coeff: (-7.900429e-17, -0.003167949, 0.001143224)
Iteration 2:
    tau: (0.7700948, 0.1571539)
    fixed coeff: (7.969752e-07, -0.01596609, -0.004398386)
Iteration 3:
    tau: (0.8649753, 0.0670912)
    fixed coeff: (3.558187e-07, -0.01030783, 3.137729e-05)
Iteration 4:
    tau: (0.9159832, 0.02884355)
    fixed coeff: (2.850052e-07, -0.006806145, 0.00088392)
Iteration 5:
    tau: (0.942882, 0)
    fixed coeff: (1.393627e-06, -0.004853796, 0.001081237)
Final tau: (0.9701727, 0)
    fixed coeff: (-6.282204e-17, -0.003167949, 0.001143224)
Calculate the average ratio of variances:
Wed Apr 15 06:25:31 2020
     1, maf: 0.0775, mac: 155,	ratio: 1.0307 (var1: 1.02, var2: 0.985)
     2, maf: 0.0355, mac: 71,	ratio: 1.0307 (var1: 0.955, var2: 0.927)
     3, maf: 0.0730, mac: 146,	ratio: 1.0307 (var1: 1, var2: 0.975)
     4, maf: 0.0160, mac: 32,	ratio: 1.0307 (var1: 0.994, var2: 0.964)
     5, maf: 0.0585, mac: 117,	ratio: 1.0307 (var1: 1.01, var2: 0.984)
     6, maf: 0.0155, mac: 31,	ratio: 1.0307 (var1: 0.998, var2: 0.968)
     7, maf: 0.3075, mac: 615,	ratio: 1.0307 (var1: 0.707, var2: 0.686)
     8, maf: 0.0715, mac: 143,	ratio: 1.0307 (var1: 0.969, var2: 0.94)
     9, maf: 0.0115, mac: 23,	ratio: 1.0307 (var1: 1, var2: 0.974)
    10, maf: 0.0470, mac: 94,	ratio: 1.0307 (var1: 0.999, var2: 0.969)
    11, maf: 0.0310, mac: 62,	ratio: 1.0307 (var1: 0.997, var2: 0.967)
    12, maf: 0.1340, mac: 268,	ratio: 1.0307 (var1: 0.882, var2: 0.855)
    13, maf: 0.0855, mac: 171,	ratio: 1.0307 (var1: 0.975, var2: 0.946)
    14, maf: 0.1610, mac: 322,	ratio: 1.0307 (var1: 0.878, var2: 0.851)
    15, maf: 0.0340, mac: 68,	ratio: 1.0307 (var1: 0.99, var2: 0.96)
    16, maf: 0.0215, mac: 43,	ratio: 1.0307 (var1: 0.986, var2: 0.957)
    17, maf: 0.0600, mac: 120,	ratio: 1.0307 (var1: 0.987, var2: 0.958)
    18, maf: 0.0285, mac: 57,	ratio: 1.0307 (var1: 0.972, var2: 0.943)
    19, maf: 0.0145, mac: 29,	ratio: 1.0307 (var1: 1, var2: 0.97)
    20, maf: 0.0130, mac: 26,	ratio: 1.0307 (var1: 1, var2: 0.973)
    21, maf: 0.1350, mac: 270,	ratio: 1.0307 (var1: 0.866, var2: 0.84)
    22, maf: 0.0315, mac: 63,	ratio: 1.0307 (var1: 1.03, var2: 0.998)
    23, maf: 0.0475, mac: 95,	ratio: 1.0307 (var1: 0.954, var2: 0.925)
    24, maf: 0.2475, mac: 495,	ratio: 1.0307 (var1: 0.791, var2: 0.767)
    25, maf: 0.0135, mac: 27,	ratio: 1.0307 (var1: 0.999, var2: 0.969)
    26, maf: 0.4915, mac: 983,	ratio: 1.0307 (var1: 0.491, var2: 0.476)
    27, maf: 0.0525, mac: 105,	ratio: 1.0307 (var1: 0.98, var2: 0.951)
    28, maf: 0.0195, mac: 39,	ratio: 1.0307 (var1: 0.99, var2: 0.961)
    29, maf: 0.0270, mac: 54,	ratio: 1.0307 (var1: 0.972, var2: 0.943)
    30, maf: 0.0380, mac: 76,	ratio: 1.0307 (var1: 1.01, var2: 0.976)
    ratio avg. is 1.030744, sd: 9.84416e-16
Wed Apr 15 06:25:31 2020
Done.
SAIGE association analysis:
    # of samples: 1,000
    # of variants: 10,000
    MAF threshold: NaN
    MAC threshold: 4
    missing threshold for variants: 0.1
    p-value threshold for SPA adjustment: 0.05
    variance ratio for approximation: 0.9410486
    # of processes: 1

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
# of variants after filtering by MAF, MAC and missing thresholds: 10,000
Done.
SAIGE association analysis:
    # of samples: 1,000
    # of variants: 10,000
    MAF threshold: NaN
    MAC threshold: 4
    missing threshold for variants: 0.1
    p-value threshold for SPA adjustment: 0.05
    variance ratio for approximation: 1.030744
    # of processes: 1

[..................................................]  0%, ETC: ---    
[==================================================] 100%, completed, 0s
# of variants after filtering by MAF, MAC and missing thresholds: 10,000
Done.


RUNIT TEST PROTOCOL -- Wed Apr 15 06:25:32 2020 
*********************************************** 
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
SAIGEgds RUnit Tests - 2 test functions, 0 errors, 0 failures
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
  14.62    0.40   15.01 

Example timings

SAIGEgds.Rcheck/examples_i386/SAIGEgds-Ex.timings

nameusersystemelapsed
SAIGEgds-package5.470.026.23
seqAssocGLMM_SPA6.370.036.57
seqFitNullGLMM_SPA5.470.035.52
seqSAIGE_LoadPval0.090.021.15

SAIGEgds.Rcheck/examples_x64/SAIGEgds-Ex.timings

nameusersystemelapsed
SAIGEgds-package4.570.025.19
seqAssocGLMM_SPA5.140.015.41
seqFitNullGLMM_SPA4.160.004.16
seqSAIGE_LoadPval0.050.000.04