Back to Multiple platform build/check report for BioC 3.6
ABCDEFGHIJKLMNO[P]QRSTUVWXYZ

CHECK report for preprocessCore on malbec1

This page was generated on 2018-04-12 13:06:53 -0400 (Thu, 12 Apr 2018).

Package 1063/1472HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
preprocessCore 1.40.0
Ben Bolstad
Snapshot Date: 2018-04-11 16:45:18 -0400 (Wed, 11 Apr 2018)
URL: https://git.bioconductor.org/packages/preprocessCore
Branch: RELEASE_3_6
Last Commit: 969bb0e
Last Changed Date: 2017-10-30 12:38:20 -0400 (Mon, 30 Oct 2017)
malbec1 Linux (Ubuntu 16.04.1 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
veracruz1 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: preprocessCore
Version: 1.40.0
Command: /home/biocbuild/bbs-3.6-bioc/R/bin/R CMD check --no-vignettes --timings preprocessCore_1.40.0.tar.gz
StartedAt: 2018-04-12 01:54:25 -0400 (Thu, 12 Apr 2018)
EndedAt: 2018-04-12 01:54:48 -0400 (Thu, 12 Apr 2018)
EllapsedTime: 23.6 seconds
RetCode: 0
Status:  OK 
CheckDir: preprocessCore.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.6-bioc/R/bin/R CMD check --no-vignettes --timings preprocessCore_1.40.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.6-bioc/meat/preprocessCore.Rcheck’
* using R version 3.4.4 (2018-03-15)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘preprocessCore/DESCRIPTION’ ... OK
* this is package ‘preprocessCore’ version ‘1.40.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 for sufficient/correct file permissions ... OK
* checking whether package ‘preprocessCore’ can be installed ... OK
* checking installed package size ... OK
* checking package 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
* 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 shell scripts ... 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 ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘PLMdtest.R’
  Running ‘qnormtest.R’
 OK
* checking PDF version of manual ... OK
* DONE

Status: OK


Installation output

preprocessCore.Rcheck/00install.out

* installing *source* package ‘preprocessCore’ ...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for library containing pthread_create... -lpthread
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking if PTHREAD_STACK_MIN is defined... yes
configure: Enabling threading for preprocessCore
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_colSummarize.c -o R_colSummarize.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_plmd_interfaces.c -o R_plmd_interfaces.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_plmr_interfaces.c -o R_plmr_interfaces.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_rlm_interfaces.c -o R_rlm_interfaces.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_subColSummarize.c -o R_subColSummarize.o
R_subColSummarize.c: In function ‘R_subColSummarize_avg_log’:
R_subColSummarize.c:105:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:103:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:99:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:97:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_log_avg’:
R_subColSummarize.c:273:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:271:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:267:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:265:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_avg’:
R_subColSummarize.c:444:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:442:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:438:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:436:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_biweight_log’:
R_subColSummarize.c:616:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:614:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:610:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:608:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_biweight’:
R_subColSummarize.c:787:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:785:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:781:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:779:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_median_log’:
R_subColSummarize.c:959:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:957:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:953:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:951:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_log_median’:
R_subColSummarize.c:1129:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1127:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:1123:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:1121:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_median’:
R_subColSummarize.c:1298:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1296:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:1292:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:1290:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_medianpolish_log’:
R_subColSummarize.c:1472:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1470:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:1466:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:1464:30: warning: variable ‘buffer2’ set but not used [-Wunused-but-set-variable]
   double *results, *buffer, *buffer2;
                              ^
R_subColSummarize.c:1464:21: warning: variable ‘buffer’ set but not used [-Wunused-but-set-variable]
   double *results, *buffer, *buffer2;
                     ^
R_subColSummarize.c: In function ‘R_subColSummarize_medianpolish’:
R_subColSummarize.c:1647:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1645:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subColSummarize.c:1641:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subColSummarize.c:1639:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^
R_subColSummarize.c:1639:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^
R_subColSummarize.c: At top level:
R_subColSummarize.c:1603:14: warning: ‘subColSummarize_medianpolish_group’ defined but not used [-Wunused-function]
 static void *subColSummarize_medianpolish_group(void *data){
              ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c R_subrcModel_interfaces.c -o R_subrcModel_interfaces.o
R_subrcModel_interfaces.c: In function ‘sub_rcModelSummarize_medianpolish_group’:
R_subrcModel_interfaces.c:80:11: warning: unused variable ‘se’ [-Wunused-variable]
   double *se;
           ^
R_subrcModel_interfaces.c:79:11: warning: unused variable ‘weights’ [-Wunused-variable]
   double *weights;
           ^
R_subrcModel_interfaces.c:64:20: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *buffer, *buffer2;
                    ^
R_subrcModel_interfaces.c:64:11: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *buffer, *buffer2;
           ^
R_subrcModel_interfaces.c: In function ‘R_sub_rcModelSummarize_medianpolish’:
R_subrcModel_interfaces.c:162:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subrcModel_interfaces.c:160:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subrcModel_interfaces.c:156:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subrcModel_interfaces.c:154:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^
R_subrcModel_interfaces.c:154:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^
R_subrcModel_interfaces.c:154:11: warning: unused variable ‘results’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
           ^
R_subrcModel_interfaces.c: In function ‘sub_rcModelSummarize_plm_group’:
R_subrcModel_interfaces.c:382:10: warning: unused variable ‘scale’ [-Wunused-variable]
   double scale=-1.0;
          ^
R_subrcModel_interfaces.c:361:20: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *buffer, *buffer2;
                    ^
R_subrcModel_interfaces.c:361:11: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *buffer, *buffer2;
           ^
R_subrcModel_interfaces.c: In function ‘R_sub_rcModelSummarize_plm’:
R_subrcModel_interfaces.c:477:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subrcModel_interfaces.c:475:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^
R_subrcModel_interfaces.c:471:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^
R_subrcModel_interfaces.c:469:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^
R_subrcModel_interfaces.c:469:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^
R_subrcModel_interfaces.c:469:11: warning: unused variable ‘results’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
           ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c avg.c -o avg.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c avg_log.c -o avg_log.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c biweight.c -o biweight.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c init_package.c -o init_package.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c lm.c -o lm.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c log_avg.c -o log_avg.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c log_median.c -o log_median.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c matrix_functions.c -o matrix_functions.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c median.c -o median.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c median_log.c -o median_log.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c medianpolish.c -o medianpolish.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c plmd.c -o plmd.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c plmr.c -o plmr.o
plmr.c:82:13: warning: ‘XTWY_R’ defined but not used [-Wunused-function]
 static void XTWY_R(int *rows, int *cols, double *out_weights, double *y,double *xtwy){
             ^
plmr.c:152:13: warning: ‘XTWX_R’ defined but not used [-Wunused-function]
 static void XTWX_R(int *rows, int *cols, double *out_weights, double *xtwx){
             ^
plmr.c:279:13: warning: ‘XTWX_R_inv’ defined but not used [-Wunused-function]
 static void XTWX_R_inv(int *rows, int *cols, double *xtwx){
             ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c psi_fns.c -o psi_fns.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c qnorm.c -o qnorm.o
qnorm.c: In function ‘qnorm_c_determine_target_l’:
qnorm.c:1887:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na;
       ^
qnorm.c:1882:12: warning: unused variable ‘j’ [-Wunused-variable]
   size_t i,j,row_mean_ind;
            ^
qnorm.c: In function ‘qnorm_c_determine_target_via_subset_l’:
qnorm.c:2481:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na;
       ^
qnorm.c:2476:12: warning: unused variable ‘j’ [-Wunused-variable]
   size_t i,j,row_mean_ind;
            ^
qnorm.c: In function ‘using_target_via_subset_part1’:
qnorm.c:2692:14: warning: variable ‘ind’ set but not used [-Wunused-but-set-variable]
   size_t i,j,ind,target_ind;
              ^
qnorm.c: In function ‘using_target_via_subset_part2’:
qnorm.c:2791:11: warning: unused variable ‘datvec’ [-Wunused-variable]
   double *datvec;
           ^
qnorm.c:2790:11: warning: unused variable ‘sample_percentiles’ [-Wunused-variable]
   double *sample_percentiles;
           ^
qnorm.c: In function ‘using_target_via_subset’:
qnorm.c:2940:11: warning: unused variable ‘datvec’ [-Wunused-variable]
   double *datvec;
           ^
qnorm.c:2939:11: warning: unused variable ‘sample_percentiles’ [-Wunused-variable]
   double *sample_percentiles;
           ^
qnorm.c:2935:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na = 0;
       ^
qnorm.c:2934:7: warning: unused variable ‘targetnon_na’ [-Wunused-variable]
   int targetnon_na = targetrows;
       ^
qnorm.c:2932:28: warning: unused variable ‘target_ind_double_floor’ [-Wunused-variable]
   double target_ind_double,target_ind_double_floor;
                            ^
qnorm.c:2932:10: warning: unused variable ‘target_ind_double’ [-Wunused-variable]
   double target_ind_double,target_ind_double_floor;
          ^
qnorm.c:2931:10: warning: unused variable ‘samplepercentile’ [-Wunused-variable]
   double samplepercentile;
          ^
qnorm.c:2930:11: warning: unused variable ‘ranks’ [-Wunused-variable]
   double *ranks = (double *)Calloc((rows),double);
           ^
qnorm.c:2928:11: warning: unused variable ‘row_mean’ [-Wunused-variable]
   double *row_mean = target;
           ^
qnorm.c:2926:14: warning: unused variable ‘dimat’ [-Wunused-variable]
   dataitem **dimat;
              ^
qnorm.c:2924:18: warning: unused variable ‘target_ind’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
                  ^
qnorm.c:2924:14: warning: unused variable ‘ind’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
              ^
qnorm.c:2924:12: warning: unused variable ‘j’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
            ^
qnorm.c: In function ‘R_qnorm_using_target’:
qnorm.c:2087:3: warning: ‘target_rows’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   qnorm_c_using_target_l(Xptr, rows, cols ,targetptr, target_rows);
   ^
qnorm.c: In function ‘R_qnorm_using_target_via_subset’:
qnorm.c:3205:3: warning: ‘target_rows’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   qnorm_c_using_target_via_subset_l(Xptr, rows, cols, subsetptr, targetptr, target_rows);
   ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c rlm.c -o rlm.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c rlm_anova.c -o rlm_anova.o
rlm_anova.c: In function ‘rlm_fit_anova_given_probe_effects_engine’:
rlm_anova.c:1235:10: warning: unused variable ‘endprobe’ [-Wunused-variable]
   double endprobe;
          ^
rlm_anova.c: In function ‘rlm_compute_se_anova_given_probe_effects’:
rlm_anova.c:1426:19: warning: unused variable ‘varderivpsi’ [-Wunused-variable]
   double vs=0.0,m,varderivpsi=0.0; 
                   ^
rlm_anova.c:1426:17: warning: unused variable ‘m’ [-Wunused-variable]
   double vs=0.0,m,varderivpsi=0.0; 
                 ^
rlm_anova.c:1426:10: warning: unused variable ‘vs’ [-Wunused-variable]
   double vs=0.0,m,varderivpsi=0.0; 
          ^
rlm_anova.c:1419:10: warning: unused variable ‘scale’ [-Wunused-variable]
   double scale=0.0;
          ^
rlm_anova.c:1418:10: warning: unused variable ‘Kappa’ [-Wunused-variable]
   double Kappa=0.0;      /* A correction factor */
          ^
rlm_anova.c:1417:10: warning: unused variable ‘sumderivpsi’ [-Wunused-variable]
   double sumderivpsi=0.0; /* sum of psi'(r_i) */
          ^
rlm_anova.c:1415:10: warning: unused variable ‘sumpsi2’ [-Wunused-variable]
   double sumpsi2=0.0;  /* sum of psi(r_i)^2 */
          ^
rlm_anova.c:1414:10: warning: unused variable ‘k1’ [-Wunused-variable]
   double k1 = psi_k;   /*  was 1.345; */
          ^
rlm_anova.c: In function ‘rlm_wfit_anova_given_probe_effects_engine’:
rlm_anova.c:1505:10: warning: unused variable ‘endprobe’ [-Wunused-variable]
   double endprobe;
          ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c rlm_se.c -o rlm_se.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c rma_background4.c -o rma_background4.o
rma_background4.c: In function ‘rma_bg_correct’:
rma_background4.c:343:10: warning: unused variable ‘param’ [-Wunused-variable]
   double param[3];
          ^
rma_background4.c:342:10: warning: unused variable ‘j’ [-Wunused-variable]
   size_t j;
          ^
rma_background4.c: In function ‘R_rma_bg_correct’:
rma_background4.c:492:12: warning: ‘PMcopy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return PMcopy;
            ^
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c rma_common.c -o rma_common.o
gcc -I/home/biocbuild/bbs-3.6-bioc/R/include -DNDEBUG -I/usr/local/include  -I/usr/local/include  -g -O2 -Wall  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fpic  -g -O2  -Wall -c weightedkerneldensity.c -o weightedkerneldensity.o
g++ -shared -L/home/biocbuild/bbs-3.6-bioc/R/lib -L/usr/local/lib -o preprocessCore.so R_colSummarize.o R_plmd_interfaces.o R_plmr_interfaces.o R_rlm_interfaces.o R_subColSummarize.o R_subrcModel_interfaces.o avg.o avg_log.o biweight.o init_package.o lm.o log_avg.o log_median.o matrix_functions.o median.o median_log.o medianpolish.o plmd.o plmr.o psi_fns.o qnorm.o rlm.o rlm_anova.o rlm_se.o rma_background4.o rma_common.o weightedkerneldensity.o -lpthread -L/home/biocbuild/bbs-3.6-bioc/R/lib -lRlapack -L/home/biocbuild/bbs-3.6-bioc/R/lib -lRblas -lgfortran -lm -lquadmath -L/home/biocbuild/bbs-3.6-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.6-bioc/meat/preprocessCore.Rcheck/preprocessCore/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (preprocessCore)

Tests output

preprocessCore.Rcheck/tests/PLMdtest.Rout


R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (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(preprocessCore)
> 
> 
> values <- rnorm(100)
> group.labels <- sample(0:4,replace=TRUE, 100)
> 
> results <- double(10000)
> ngroups <- 2
> 
> 
> for (i in 1:10000){
+        values <- rnorm(100,sd=1)
+        values <- values/sd(values)
+        group.labels <- sample(0:(ngroups-1),replace=TRUE, 100)
+        blah <- .C("R_split_test",as.double(values), as.integer(100), as.integer(ngroups), as.integer(group.labels),double(1))
+        results[i] <- blah[[5]]
+ }
> 
> plot(sort(results),qchisq(0:9999/10000,ngroups-1))
> lm(qchisq(0:9999/10000,ngroups-1) ˜ sort(results))

Call:
lm(formula = qchisq(0:9999/10000, ngroups - 1) ˜ sort(results))

Coefficients:
  (Intercept)  sort(results)  
     0.005762       0.976013  

> 
> 
> 
> boxplot(values ˜ group.labels,ylim=c(-2,2))
> 
> 
> 
> sc <- median(abs(resid(lm(values ˜ 1))))/0.6745
> sum((resid(lm(values ˜ 1))/sc)^2)/2
[1] 44.22819
> sum((resid(lm(values ˜ as.factor(group.labels)))/sc)^2)/2
[1] 43.53476
> 
> 
> values <- rnorm(100)
> group.labels <- sample(0:4,replace=TRUE, 100)
> values[group.labels == 1] <- values[group.labels == 1] + 0.4
> 
> 
> blah <- .C("R_split_test",as.double(values), as.integer(100), as.integer(5), as.integer(group.labels),double(1))
> 
> boxplot(values ˜ group.labels,ylim=c(-2,2))
> 
> 
> 
> library(preprocessCore)
> 
> .C("R_test_get_design_matrix",as.integer(4),as.integer(5))
1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 
1.00 0.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 
0.00 1.00 0.00 0.00 0.00 1.00 0.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 
0.00 1.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 
0.00 0.00 1.00 0.00 0.00 1.00 0.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 
0.00 0.00 1.00 0.00 0.00 -1.00 -1.00 -1.00 
0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 1.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 
0.00 0.00 0.00 1.00 0.00 -1.00 -1.00 -1.00 
0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 1.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 1.00 
0.00 0.00 0.00 0.00 1.00 -1.00 -1.00 -1.00 

1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 
1.00 0.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 -1.00 
0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 
0.00 1.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 -1.00 
0.00 0.00 1.00 0.00 0.00 1.00 0.00 0.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 
0.00 0.00 1.00 0.00 0.00 -1.00 -1.00 -1.00 -1.00 
0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 
0.00 0.00 0.00 1.00 0.00 -1.00 -1.00 -1.00 -1.00 
0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 1.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 
0.00 0.00 0.00 0.00 1.00 -1.00 -1.00 -1.00 -1.00 

1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
1.00 0.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 -1.00 -1.00 
0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 1.00 0.00 0.00 0.00 -1.00 -1.00 -1.00 -1.00 -1.00 
0.00 0.00 1.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 
0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 
0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 1.00 0.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 0.00 
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 
[[1]]
[1] 4

[[2]]
[1] 5

> 
> 
> 
> chips <- as.factor(rep(c(1,2,3,4,5,6),c(5,5,5,5,5,5)))
> probes <- rep(c(1,3,4,5,6),6)
>        
> probes[c(1,6,11)] <- 2
> ##probes[24 + c(8,16,24)] <- 10
> probes <- as.factor(probes)
> 
> 
> model.matrix(˜ -1 + probes)%*%contr.sum(6)
   [,1] [,2] [,3] [,4] [,5]
1     0    1    0    0    0
2     0    0    1    0    0
3     0    0    0    1    0
4     0    0    0    0    1
5    -1   -1   -1   -1   -1
6     0    1    0    0    0
7     0    0    1    0    0
8     0    0    0    1    0
9     0    0    0    0    1
10   -1   -1   -1   -1   -1
11    0    1    0    0    0
12    0    0    1    0    0
13    0    0    0    1    0
14    0    0    0    0    1
15   -1   -1   -1   -1   -1
16    1    0    0    0    0
17    0    0    1    0    0
18    0    0    0    1    0
19    0    0    0    0    1
20   -1   -1   -1   -1   -1
21    1    0    0    0    0
22    0    0    1    0    0
23    0    0    0    1    0
24    0    0    0    0    1
25   -1   -1   -1   -1   -1
26    1    0    0    0    0
27    0    0    1    0    0
28    0    0    0    1    0
29    0    0    0    0    1
30   -1   -1   -1   -1   -1
> 
> 
> probes <- rep(c(1,3,4,5,6),6)
>        
> probes[c(1,6,11)] <- 2
> probes[c(20,25,30)] <- 7
> probes <- as.factor(probes)
> model.matrix(˜ -1 + probes)%*%contr.sum(7)
   [,1] [,2] [,3] [,4] [,5] [,6]
1     0    1    0    0    0    0
2     0    0    1    0    0    0
3     0    0    0    1    0    0
4     0    0    0    0    1    0
5     0    0    0    0    0    1
6     0    1    0    0    0    0
7     0    0    1    0    0    0
8     0    0    0    1    0    0
9     0    0    0    0    1    0
10    0    0    0    0    0    1
11    0    1    0    0    0    0
12    0    0    1    0    0    0
13    0    0    0    1    0    0
14    0    0    0    0    1    0
15    0    0    0    0    0    1
16    1    0    0    0    0    0
17    0    0    1    0    0    0
18    0    0    0    1    0    0
19    0    0    0    0    1    0
20   -1   -1   -1   -1   -1   -1
21    1    0    0    0    0    0
22    0    0    1    0    0    0
23    0    0    0    1    0    0
24    0    0    0    0    1    0
25   -1   -1   -1   -1   -1   -1
26    1    0    0    0    0    0
27    0    0    1    0    0    0
28    0    0    0    1    0    0
29    0    0    0    0    1    0
30   -1   -1   -1   -1   -1   -1
> 
> 
> 
> 
> probes <- rep(c(1,3,4,5,6),6)
>        
> probes[c(1,6,11)] <- 2
> probes[c(5,10,15)] <- 7
> probes <- as.factor(probes)
> model.matrix(˜ -1 + probes)%*%contr.sum(7)
   [,1] [,2] [,3] [,4] [,5] [,6]
1     0    1    0    0    0    0
2     0    0    1    0    0    0
3     0    0    0    1    0    0
4     0    0    0    0    1    0
5    -1   -1   -1   -1   -1   -1
6     0    1    0    0    0    0
7     0    0    1    0    0    0
8     0    0    0    1    0    0
9     0    0    0    0    1    0
10   -1   -1   -1   -1   -1   -1
11    0    1    0    0    0    0
12    0    0    1    0    0    0
13    0    0    0    1    0    0
14    0    0    0    0    1    0
15   -1   -1   -1   -1   -1   -1
16    1    0    0    0    0    0
17    0    0    1    0    0    0
18    0    0    0    1    0    0
19    0    0    0    0    1    0
20    0    0    0    0    0    1
21    1    0    0    0    0    0
22    0    0    1    0    0    0
23    0    0    0    1    0    0
24    0    0    0    0    1    0
25    0    0    0    0    0    1
26    1    0    0    0    0    0
27    0    0    1    0    0    0
28    0    0    0    1    0    0
29    0    0    0    0    1    0
30    0    0    0    0    0    1
> 
> 
> 
> probes <- rep(c(1,3,4,5,6),6)
>        
> probes[c(1,6,11)] <- 2
> probes[1+c(1,6,11)] <- 8
> probes[2+c(1,6,11)] <- 9
> probes[3+c(1,6,11)] <- 10
> probes[c(5,10,15)] <- 7
> probes <- as.factor(probes)
> model.matrix(˜ -1 + probes)%*%contr.sum(10)
   [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
1     0    1    0    0    0    0    0    0    0
2     0    0    0    0    0    0    0    1    0
3     0    0    0    0    0    0    0    0    1
4    -1   -1   -1   -1   -1   -1   -1   -1   -1
5     0    0    0    0    0    0    1    0    0
6     0    1    0    0    0    0    0    0    0
7     0    0    0    0    0    0    0    1    0
8     0    0    0    0    0    0    0    0    1
9    -1   -1   -1   -1   -1   -1   -1   -1   -1
10    0    0    0    0    0    0    1    0    0
11    0    1    0    0    0    0    0    0    0
12    0    0    0    0    0    0    0    1    0
13    0    0    0    0    0    0    0    0    1
14   -1   -1   -1   -1   -1   -1   -1   -1   -1
15    0    0    0    0    0    0    1    0    0
16    1    0    0    0    0    0    0    0    0
17    0    0    1    0    0    0    0    0    0
18    0    0    0    1    0    0    0    0    0
19    0    0    0    0    1    0    0    0    0
20    0    0    0    0    0    1    0    0    0
21    1    0    0    0    0    0    0    0    0
22    0    0    1    0    0    0    0    0    0
23    0    0    0    1    0    0    0    0    0
24    0    0    0    0    1    0    0    0    0
25    0    0    0    0    0    1    0    0    0
26    1    0    0    0    0    0    0    0    0
27    0    0    1    0    0    0    0    0    0
28    0    0    0    1    0    0    0    0    0
29    0    0    0    0    1    0    0    0    0
30    0    0    0    0    0    1    0    0    0
> 
> 
> 
> 
> 
> 
> 
> 
> 
> true.probes <- c(4,3,2,1,-1,-2,-3,-4)
> 
> true.chips  <- c(8,9,10,11,12,13)
> 
> 
> y <- outer(true.probes,true.chips,"+")
> 
> 
> 
> estimate.coefficients <- function(y){
+ 
+ 
+ colmean <- apply(y,2,mean)
+ 
+ y <- sweep(y,2,FUN="-",colmean)
+ 
+ rowmean <- apply(y,1,mean)
+ y <- sweep(y,1,FUN="-",rowmean)
+ 
+ 
+ list(y,colmean,rowmean)
+ }
> estimate.coefficients(y)
[[1]]
     [,1] [,2] [,3] [,4] [,5] [,6]
[1,]    0    0    0    0    0    0
[2,]    0    0    0    0    0    0
[3,]    0    0    0    0    0    0
[4,]    0    0    0    0    0    0
[5,]    0    0    0    0    0    0
[6,]    0    0    0    0    0    0
[7,]    0    0    0    0    0    0
[8,]    0    0    0    0    0    0

[[2]]
[1]  8  9 10 11 12 13

[[3]]
[1]  4  3  2  1 -1 -2 -3 -4

> 
> 
> 
> y <- outer(true.probes,true.chips,"+")
> 
> 
> estimate.coefficients(y)
[[1]]
     [,1] [,2] [,3] [,4] [,5] [,6]
[1,]    0    0    0    0    0    0
[2,]    0    0    0    0    0    0
[3,]    0    0    0    0    0    0
[4,]    0    0    0    0    0    0
[5,]    0    0    0    0    0    0
[6,]    0    0    0    0    0    0
[7,]    0    0    0    0    0    0
[8,]    0    0    0    0    0    0

[[2]]
[1]  8  9 10 11 12 13

[[3]]
[1]  4  3  2  1 -1 -2 -3 -4

> 
> 
> 
> 
> y2 <- sweep(y,2,FUN="-",apply(y,2,mean))
> 
> 
> 
> c(3.875, 2.875,  1.875,  0.875,
+  -1.125, -2.125, -3.125, -4, -2.25)
[1]  3.875  2.875  1.875  0.875 -1.125 -2.125 -3.125 -4.000 -2.250
> 
> 
> 
> 
> cp <- rep(c(1,2,3,4,5,6),rep(8,6))
> pr <- rep(c(1,2,3,4,5,6,7,8),6)
> 
> 
> pr[c(32,40,48)] <- 9
> 
> 
> 
> 
> true.probes <- c(4,3,2,1,-1,-2,-3,-4)
> 
> true.chips  <- c(8,9,10,11,12,10)
> 
> 
> y <- outer(true.probes,true.chips,"+") + rnorm(48,0,0.1)
> 
> y[8,4:6] <- c(11,12,10)+2 + rnorm(3,0,0.1)
> 
> 
> lm(as.vector(y) ˜  -1 + as.factor(cp) + C(as.factor(pr),"contr.sum"))

Call:
lm(formula = as.vector(y) ˜ -1 + as.factor(cp) + C(as.factor(pr), 
    "contr.sum"))

Coefficients:
                as.factor(cp)1                  as.factor(cp)2  
                        8.2268                          9.2367  
                as.factor(cp)3                  as.factor(cp)4  
                       10.2239                         11.2242  
                as.factor(cp)5                  as.factor(cp)6  
                       12.2478                         10.1982  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                        3.7401                          2.8020  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                        1.8137                          0.8032  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                       -1.2333                         -2.2328  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                       -3.2481                         -4.1464  

> 
> 
> matplot(y,type="l")
> matplot(matrix(fitted( lm(as.vector(y) ˜  -1 + as.factor(cp) +
+ C(as.factor(pr),"contr.sum"))),ncol=6),type="l")
> 
> 
> library(preprocessCore)
> true.probes <- c(4,3,2,1,-1,-2,-3,-4)
> 
> true.chips  <- c(8,9,10,11,12,10)
> 
> y <- outer(true.probes,true.chips,"+") + rnorm(48,0,0.25)
> 
> y[8,4:6] <- c(11,12,10)+ 2.5 + rnorm(3,0,0.25)
> y[5,4:6] <- c(11,12,10)+-2.5 + rnorm(3,0,0.25)
> 
> 
> 
> ###.C("plmd_fit_R", as.double(y), as.integer(8), as.integer(6),
> ###		as.integer(2), as.integer(c(1,1,1,2,2,2) - 1),
> ###		double(6 +2*8),
> ###		double(48),
> ###		double(48))
> 
> ###matplot(matrix(.C("plmd_fit_R", as.double(y), as.integer(8), as.integer(6),
> ###		as.integer(2), as.integer(c(1,1,1,2,2,2) - 1),
> ###		double(6 +2*8),
> ###		double(48),
> ###		double(48))[[7]],ncol=6))
> ###		
> 
> 
> ##.Call("R_plmd_model",y,0,1.3345,as.integer(c(1,1,1,2,2,2) - 1),as.integer(2))
> rcModelPLM(y)
$Estimates
 [1]  8.2767935  9.2471723 10.4338312 11.4279551 12.2700790 10.3054099
 [7]  3.6930870  2.6044765  1.7433290  0.5405278 -1.8295157 -2.3095496
[13] -3.2274957 -1.2148593

$Weights
          [,1]      [,2]      [,3]      [,4]      [,5]      [,6]
[1,] 1.0000000 0.9363496 0.7608934 1.0000000 1.0000000 1.0000000
[2,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[3,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[4,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[5,] 0.6729680 0.6549533 0.9187372 0.3730797 1.0000000 0.4904897
[6,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[7,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[8,] 0.1186397 0.1438978 0.1221006 0.1346334 0.1297686 0.1186040

$Residuals
            [,1]       [,2]        [,3]         [,4]         [,5]         [,6]
[1,] -0.21411174 -0.4554922  0.56046027  0.045240279  0.132835196  0.036085627
[2,] -0.10842337  0.1539506 -0.26005757  0.225741531 -0.008955573 -0.002255665
[3,] -0.01999942  0.0432268 -0.05601298  0.017762579 -0.150091727  0.165114751
[4,]  0.17044761  0.2302086  0.04330303 -0.303595059 -0.068199936 -0.072164249
[5,]  0.63321890  0.6506670  0.46365174 -1.143697121 -0.424823334 -0.870055241
[6,]  0.02970768  0.3701268 -0.26700763  0.008814332  0.213735377 -0.355376554
[7,]  0.14273848 -0.3706763  0.11385001  0.006233403 -0.121001847  0.228856217
[8,] -3.59487688 -2.9638617 -3.49301663  3.167811420  3.286634473  3.595942103

$StdErrors
 [1] 0.2351212 0.2352511 0.2347179 0.2399946 0.2296029 0.2384173 0.2414331
 [8] 0.2365471 0.2365471 0.2365471 0.2759287 0.2365471 0.2365471 0.5873762

$Scale
[1] 0.3171587

> rcModelPLMd(y,c(1,1,1,2,2,2))
$Estimates
 [1]  7.9184970  9.0440972 10.0355348 11.0207171 11.9523723 10.0226603
 [7]  4.0345956  2.9174162  2.0712227  0.8684215 -0.9271138 -2.3762410
[13] -1.9475221 -2.8465693 -4.2653779  2.4711681

$Weights
     [,1]      [,2]      [,3]      [,4]      [,5]      [,6]
[1,]    1 0.3878109 0.3731484 1.0000000 1.0000000 1.0000000
[2,]    1 1.0000000 1.0000000 0.7196483 1.0000000 1.0000000
[3,]    1 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[4,]    1 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[5,]    1 1.0000000 1.0000000 1.0000000 0.5239073 1.0000000
[6,]    1 1.0000000 0.9980320 1.0000000 1.0000000 0.5298599
[7,]    1 0.4199083 1.0000000 1.0000000 1.0000000 1.0000000
[8,]    1 0.7947466 1.0000000 1.0000000 1.0000000 1.0000000

$Residuals
            [,1]        [,2]        [,3]        [,4]         [,5]        [,6]
[1,] -0.19732387 -0.59392569  0.61724813  0.11096970  0.109033305 -0.02267343
[2,] -0.06306666  0.04408596 -0.17470087  0.32003979 -0.004188626 -0.03244589
[3,]  0.01040333 -0.08159183  0.01438977  0.09710688 -0.160278730  0.11997058
[4,]  0.20085037  0.10538997  0.11370578 -0.22425075 -0.078386939 -0.11730842
[5,]  0.08911350 -0.04865982 -0.04045368 -0.18973380  0.439608683 -0.04058039
[6,]  0.02597667  0.21117440 -0.23073865  0.05402487  0.169414608 -0.43465449
[7,]  0.12010852 -0.54852761  0.13122004  0.03254499 -0.184221567  0.13067933
[8,] -0.18606185  0.28973193 -0.04420161 -0.11097798 -0.081686239  0.19266422

$StdErrors
 [1] 0.07346917 0.09606374 0.08724767 0.07965884 0.07952980 0.07953480
 [7] 0.09741494 0.08819532 0.08021953 0.08021953 0.11537757 0.13850189
[13] 0.09825594 0.08708517 0.13882114 0.00000000

$WasSplit
[1] 0 0 0 0 1 0 0 1

> 
> ###R_plmd_model(SEXP Y, SEXP PsiCode, SEXP PsiK, SEXP Groups, SEXP Ngroups)
> 
> 
> 
> 
> 
> pr[seq(3,48,8)][1:3] <- 10
> 
> y[seq(3,48,8)][1:3] <- c(8,9,10) -3 + rnorm(3,0,0.1)
> lm(as.vector(y) ˜  -1 + as.factor(cp) + C(as.factor(pr),"contr.sum"))

Call:
lm(formula = as.vector(y) ˜ -1 + as.factor(cp) + C(as.factor(pr), 
    "contr.sum"))

Coefficients:
                as.factor(cp)1                  as.factor(cp)2  
                         7.908                           8.951  
                as.factor(cp)3                  as.factor(cp)4  
                        10.036                          10.767  
                as.factor(cp)5                  as.factor(cp)6  
                        11.714                           9.733  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                         4.186                           3.080  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                         2.351                           1.016  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                        -1.469                          -1.834  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                        -2.752                          -4.211  
C(as.factor(pr), "contr.sum")9  
                         2.732  

> 
> 
> proc.time()
   user  system elapsed 
  1.704   0.012   1.712 

preprocessCore.Rcheck/tests/qnormtest.Rout


R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (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(preprocessCore)
> 
> err.tol <- 10^-8
> 
> x <- matrix(c(100,15,200,250,110,16.5,220,275,120,18,240,300),ncol=3)
> x
     [,1]  [,2] [,3]
[1,]  100 110.0  120
[2,]   15  16.5   18
[3,]  200 220.0  240
[4,]  250 275.0  300
> normalize.quantiles(x)
      [,1]  [,2]  [,3]
[1,] 110.0 110.0 110.0
[2,]  16.5  16.5  16.5
[3,] 220.0 220.0 220.0
[4,] 275.0 275.0 275.0
> 
> x.norm.truth <- matrix(rep(c(110.0,16.5,220,275.0),3),ncol=3)
> 
> if (all(abs(x.norm.truth - normalize.quantiles(x)) < err.tol) != TRUE){
+ 	stop("Disagreement in normalize.quantiles(x)")
+ }
> 
> normalize.quantiles.determine.target(x)
[1]  16.5 110.0 220.0 275.0
> 
> x.norm.target.truth <- c(16.5,110.0,220.0,275.0)
> 
> if (all(abs(x.norm.target.truth - normalize.quantiles.determine.target(x)) < err.tol) != TRUE){
+ 	stop("Disagreement in normalize.quantiles.determine.target(x)")
+ }
> 
> 
> y <- x
> y[2,2] <- NA
> y
     [,1] [,2] [,3]
[1,]  100  110  120
[2,]   15   NA   18
[3,]  200  220  240
[4,]  250  275  300
> normalize.quantiles(y)
          [,1]      [,2]      [,3]
[1,] 134.44444  47.66667 134.44444
[2,]  47.66667        NA  47.66667
[3,] 226.11111 180.27778 226.11111
[4,] 275.00000 275.00000 275.00000
> 
> y.norm.target.truth <- c(47.6666666666667,134.4444444444444,226.1111111111111,275.0000000000000)
> 
> y.norm.truth <- matrix(c(134.4444444444444,  47.6666666666667, 134.4444444444444,
+                          47.6666666666667,                NA,  47.6666666666667,
+                         226.1111111111111, 180.2777777777778, 226.1111111111111,
+                         275.0000000000000, 275.0000000000000, 275.0000000000000),byrow=TRUE,ncol=3)
> 
> 
> if (all(abs(y.norm.truth - normalize.quantiles(y)) < err.tol,na.rm=TRUE) != TRUE){
+ 	stop("Disagreement in normalize.quantiles(y)")
+ }
> 
> 
> 
> if (all(abs(y.norm.target.truth - normalize.quantiles.determine.target(y)) < err.tol) != TRUE){
+ 	stop("Disagreement in normalize.quantiles.determine.target(y)")
+ }
> 
> 
> 
> if (all(abs(normalize.quantiles.use.target(y,y.norm.target.truth) - y.norm.truth) < err.tol,na.rm=TRUE) != TRUE){
+ 		stop("Disagreement in normalize.quantiles.use.target(y)")
+ }
> 
> 
> 
> 
> proc.time()
   user  system elapsed 
  0.172   0.024   0.188 

Example timings

preprocessCore.Rcheck/preprocessCore-Ex.timings

nameusersystemelapsed
colSummarize0.0040.0000.002
normalize.quantiles.in.blocks0.0400.0000.039
rcModelPLMd0.0120.0000.013
rcModelPLMr0.0200.0040.028
rcModels0.0000.0040.007
subColSummarize0.0040.0000.007
subrcModels0.0040.0080.012