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

CHECK report for preprocessCore on malbec1

This page was generated on 2021-05-06 12:28:39 -0400 (Thu, 06 May 2021).

To the developers/maintainers of the preprocessCore package:
Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1382/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
preprocessCore 1.52.1  (landing page)
Ben Bolstad
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021)
URL: https://git.bioconductor.org/packages/preprocessCore
Branch: RELEASE_3_12
Last Commit: 91de4ab
Last Changed Date: 2020-11-24 11:02:23 -0400 (Tue, 24 Nov 2020)
malbec1Linux (Ubuntu 18.04.5 LTS) / x86_64  OK    OK    WARNINGS  UNNEEDED, same version exists in internal repository
tokay1Windows Server 2012 R2 Standard / x64  OK    OK    OK    OK  UNNEEDED, same version exists in internal repository
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    WARNINGS    OK  UNNEEDED, same version exists in internal repository

Summary

Package: preprocessCore
Version: 1.52.1
Command: /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/home/biocbuild/bbs-3.12-bioc/R/library --no-vignettes --timings preprocessCore_1.52.1.tar.gz
StartedAt: 2021-05-06 04:40:33 -0400 (Thu, 06 May 2021)
EndedAt: 2021-05-06 04:40:52 -0400 (Thu, 06 May 2021)
EllapsedTime: 18.7 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: preprocessCore.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/home/biocbuild/bbs-3.12-bioc/R/library --no-vignettes --timings preprocessCore_1.52.1.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.12-bioc/meat/preprocessCore.Rcheck’
* using R version 4.0.5 (2021-03-31)
* 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.52.1’
* 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 ... WARNING
Found the following significant warnings:
  'config' variable 'CPP' is deprecated
See ‘/home/biocbuild/bbs-3.12-bioc/meat/preprocessCore.Rcheck/00install.out’ for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... NOTE
Found a ‘configure.in’ file: ‘configure.ac’ has long been preferred.
* 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 use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
* 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: 1 WARNING, 2 NOTEs
See
  ‘/home/biocbuild/bbs-3.12-bioc/meat/preprocessCore.Rcheck/00check.log’
for details.



Installation output

preprocessCore.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.12-bioc/R/bin/R CMD INSTALL preprocessCore
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.12-bioc/R/library’
* installing *source* package ‘preprocessCore’ ...
** using staged installation
'config' variable 'CPP' is deprecated
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.12-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.12-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.12-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.12-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.12-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:117:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:115:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:111:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:109:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_log_avg’:
R_subColSummarize.c:290:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:288:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:284:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:282:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_avg’:
R_subColSummarize.c:466:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:464:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:460:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:458:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_biweight_log’:
R_subColSummarize.c:643:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:641:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:637:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:635:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_biweight’:
R_subColSummarize.c:819:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:817:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:813:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:811:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_median_log’:
R_subColSummarize.c:996:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:994:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:990:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:988:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_log_median’:
R_subColSummarize.c:1171:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1169:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:1165:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:1163:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_median’:
R_subColSummarize.c:1345:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1343:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:1339:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:1337:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer;
                     ^~~~~~
R_subColSummarize.c: In function ‘R_subColSummarize_medianpolish_log’:
R_subColSummarize.c:1524:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1522:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:1518:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:1516:30: warning: variable ‘buffer2’ set but not used [-Wunused-but-set-variable]
   double *results, *buffer, *buffer2;
                              ^~~~~~~
R_subColSummarize.c:1516: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:1704:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subColSummarize.c:1702:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subColSummarize.c:1698:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subColSummarize.c:1696:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^~~~~~~
R_subColSummarize.c:1696:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^~~~~~
At top level:
R_subColSummarize.c:1660:14: warning: ‘subColSummarize_medianpolish_group’ defined but not used [-Wunused-function]
 static void *subColSummarize_medianpolish_group(void *data){
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -I"/home/biocbuild/bbs-3.12-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:91:11: warning: unused variable ‘se’ [-Wunused-variable]
   double *se;
           ^~
R_subrcModel_interfaces.c:90:11: warning: unused variable ‘weights’ [-Wunused-variable]
   double *weights;
           ^~~~~~~
R_subrcModel_interfaces.c:75:20: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *buffer, *buffer2;
                    ^~~~~~~
R_subrcModel_interfaces.c:75:11: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *buffer, *buffer2;
           ^~~~~~
R_subrcModel_interfaces.c: In function ‘R_sub_rcModelSummarize_medianpolish’:
R_subrcModel_interfaces.c:173:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subrcModel_interfaces.c:171:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subrcModel_interfaces.c:167:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subrcModel_interfaces.c:165:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^~~~~~~
R_subrcModel_interfaces.c:165:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^~~~~~
R_subrcModel_interfaces.c:165: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:398:10: warning: unused variable ‘scale’ [-Wunused-variable]
   double scale=-1.0;
          ^~~~~
R_subrcModel_interfaces.c:377:20: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *buffer, *buffer2;
                    ^~~~~~~
R_subrcModel_interfaces.c:377:11: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *buffer, *buffer2;
           ^~~~~~
R_subrcModel_interfaces.c: In function ‘R_sub_rcModelSummarize_plm’:
R_subrcModel_interfaces.c:493:9: warning: unused variable ‘j’ [-Wunused-variable]
   int i,j;
         ^
R_subrcModel_interfaces.c:491:7: warning: unused variable ‘ncur_rows’ [-Wunused-variable]
   int ncur_rows;
       ^~~~~~~~~
R_subrcModel_interfaces.c:487:8: warning: unused variable ‘cur_rows’ [-Wunused-variable]
   int *cur_rows;
        ^~~~~~~~
R_subrcModel_interfaces.c:485:30: warning: unused variable ‘buffer2’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                              ^~~~~~~
R_subrcModel_interfaces.c:485:21: warning: unused variable ‘buffer’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
                     ^~~~~~
R_subrcModel_interfaces.c:485:11: warning: unused variable ‘results’ [-Wunused-variable]
   double *results, *buffer, *buffer2;
           ^~~~~~~
gcc -I"/home/biocbuild/bbs-3.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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.12-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:279:13: warning: ‘XTWX_R_inv’ defined but not used [-Wunused-function]
 static void XTWX_R_inv(int *rows, int *cols, double *xtwx){
             ^~~~~~~~~~
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: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){
             ^~~~~~
gcc -I"/home/biocbuild/bbs-3.12-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.12-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:1908:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na;
       ^~~~~~
qnorm.c:1903: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:2507:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na;
       ^~~~~~
qnorm.c:2502: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:2723: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:2822:11: warning: unused variable ‘datvec’ [-Wunused-variable]
   double *datvec;
           ^~~~~~
qnorm.c:2821:11: warning: unused variable ‘sample_percentiles’ [-Wunused-variable]
   double *sample_percentiles;
           ^~~~~~~~~~~~~~~~~~
qnorm.c: In function ‘using_target_via_subset’:
qnorm.c:2971:11: warning: unused variable ‘datvec’ [-Wunused-variable]
   double *datvec;
           ^~~~~~
qnorm.c:2970:11: warning: unused variable ‘sample_percentiles’ [-Wunused-variable]
   double *sample_percentiles;
           ^~~~~~~~~~~~~~~~~~
qnorm.c:2966:7: warning: unused variable ‘non_na’ [-Wunused-variable]
   int non_na = 0;
       ^~~~~~
qnorm.c:2965:7: warning: unused variable ‘targetnon_na’ [-Wunused-variable]
   int targetnon_na = targetrows;
       ^~~~~~~~~~~~
qnorm.c:2963:28: warning: unused variable ‘target_ind_double_floor’ [-Wunused-variable]
   double target_ind_double,target_ind_double_floor;
                            ^~~~~~~~~~~~~~~~~~~~~~~
qnorm.c:2963:10: warning: unused variable ‘target_ind_double’ [-Wunused-variable]
   double target_ind_double,target_ind_double_floor;
          ^~~~~~~~~~~~~~~~~
qnorm.c:2962:10: warning: unused variable ‘samplepercentile’ [-Wunused-variable]
   double samplepercentile;
          ^~~~~~~~~~~~~~~~
qnorm.c:2961:11: warning: unused variable ‘ranks’ [-Wunused-variable]
   double *ranks = (double *)Calloc((rows),double);
           ^~~~~
qnorm.c:2959:11: warning: unused variable ‘row_mean’ [-Wunused-variable]
   double *row_mean = target;
           ^~~~~~~~
qnorm.c:2957:14: warning: unused variable ‘dimat’ [-Wunused-variable]
   dataitem **dimat;
              ^~~~~
qnorm.c:2955:18: warning: unused variable ‘target_ind’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
                  ^~~~~~~~~~
qnorm.c:2955:14: warning: unused variable ‘ind’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
              ^~~
qnorm.c:2955:12: warning: unused variable ‘j’ [-Wunused-variable]
   size_t i,j,ind,target_ind;
            ^
qnorm.c: In function ‘R_qnorm_using_target’:
qnorm.c:2113: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:3240: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.12-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.12-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.12-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.12-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:355:10: warning: unused variable ‘param’ [-Wunused-variable]
   double param[3];
          ^~~~~
rma_background4.c:354:10: warning: unused variable ‘j’ [-Wunused-variable]
   size_t j;
          ^
rma_background4.c: In function ‘R_rma_bg_correct’:
rma_background4.c:509:12: warning: ‘PMcopy’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return PMcopy;
            ^~~~~~
gcc -I"/home/biocbuild/bbs-3.12-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.12-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
gcc -shared -L/home/biocbuild/bbs-3.12-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.12-bioc/R/lib -lRlapack -L/home/biocbuild/bbs-3.12-bioc/R/lib -lRblas -lgfortran -lm -lquadmath -L/home/biocbuild/bbs-3.12-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.12-bioc/R/library/00LOCK-preprocessCore/00new/preprocessCore/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (preprocessCore)

Tests output

preprocessCore.Rcheck/tests/PLMdtest.Rout


R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 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.00351        0.95425  

> 
> 
> 
> 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] 43.68985
> sum((resid(lm(values ~ as.factor(group.labels)))/sc)^2)/2
[1] 43.37931
> 
> 
> 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.2330                          9.2820  
                as.factor(cp)3                  as.factor(cp)4  
                       10.1976                         11.2480  
                as.factor(cp)5                  as.factor(cp)6  
                       12.2110                         10.1915  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                        3.8047                          2.8517  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                        1.6646                          0.8028  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                       -1.1672                         -2.2509  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                       -3.2639                         -4.2777  

> 
> 
> 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.2364055  9.3529514 10.4237616 11.4717632 12.1933981 10.3166716
 [7]  3.6855489  2.6492657  1.8709490  0.5938022 -2.1241217 -2.2591126
[13] -3.3905254 -1.0258062

$Weights
          [,1]       [,2]       [,3]      [,4]       [,5]      [,6]
[1,] 1.0000000 1.00000000 1.00000000 1.0000000 1.00000000 1.0000000
[2,] 1.0000000 1.00000000 1.00000000 1.0000000 1.00000000 1.0000000
[3,] 1.0000000 0.85224475 1.00000000 1.0000000 1.00000000 0.8267939
[4,] 1.0000000 0.77687267 1.00000000 1.0000000 1.00000000 1.0000000
[5,] 0.2857524 0.35837043 0.45347033 0.4169911 0.27221670 0.4141594
[6,] 1.0000000 1.00000000 1.00000000 1.0000000 1.00000000 1.0000000
[7,] 1.0000000 1.00000000 1.00000000 1.0000000 1.00000000 1.0000000
[8,] 0.1073469 0.09341193 0.09186528 0.1008215 0.09119752 0.1000472

$Residuals
            [,1]         [,2]        [,3]        [,4]        [,5]         [,6]
[1,] -0.16037452  0.202892324 -0.16688766  0.02785419  0.12147364 -0.024957963
[2,] -0.03243191 -0.125506114  0.15448976  0.06053745 -0.19660635  0.139517165
[3,] -0.09277839 -0.368561269  0.05214197 -0.08958449  0.13040619  0.379682447
[4,] -0.05585921  0.403860480 -0.14806839 -0.06744140  0.13026902 -0.172648194
[5,]  1.09863295  0.875844498  0.69230861 -0.75282066 -1.15321131 -0.757950430
[6,]  0.09217908  0.009346462  0.16647412 -0.07852946  0.06498904 -0.254459237
[7,]  0.24925536 -0.086309274 -0.05816347  0.14715068 -0.25054041 -0.001392894
[8,] -2.92442098 -3.360854608 -3.41726219  3.11374533  3.44233318  3.137862702

$StdErrors
 [1] 0.2119842 0.2164561 0.2094148 0.2096665 0.2130623 0.2121299 0.2086283
 [8] 0.2086283 0.2128759 0.2115556 0.3121702 0.2086283 0.2086283 0.5761563

$Scale
[1] 0.2334057

> rcModelPLMd(y,c(1,1,1,2,2,2))
$Estimates
 [1]  7.9872173  9.0127333 10.0621773 11.1592291 11.8737231  9.9978658
 [7]  4.0025499  2.9662666  2.1817580  0.8939108 -0.9181961 -2.6902203
[13] -1.9420683 -3.0735244 -3.9429886  2.5225125

$Weights
     [,1]      [,2] [,3] [,4]      [,5]      [,6]
[1,]    1 1.0000000    1    1 1.0000000 1.0000000
[2,]    1 1.0000000    1    1 1.0000000 1.0000000
[3,]    1 0.7443126    1    1 1.0000000 0.6513215
[4,]    1 0.5687401    1    1 1.0000000 1.0000000
[5,]    1 1.0000000    1    1 0.9451405 1.0000000
[6,]    1 1.0000000    1    1 1.0000000 0.9989709
[7,]    1 1.0000000    1    1 1.0000000 1.0000000
[8,]    1 1.0000000    1    1 1.0000000 1.0000000

$Residuals
            [,1]        [,2]        [,3]        [,4]        [,5]          [,6]
[1,] -0.22818728  0.22610949 -0.12230422  0.02338738  0.12414772 -0.0231530889
[2,] -0.10024467 -0.10228894  0.19907320  0.05607064 -0.19393227  0.1413220392
[3,] -0.15439913 -0.33915208  0.10291743 -0.08785928  0.13927229  0.3876793395
[4,] -0.10677961  0.44397001 -0.08659258 -0.05501585  0.14983547 -0.1539509585
[5,]  0.14189555  0.01013703 -0.15203258  0.12581211 -0.26743764  0.1269540276
[6,]  0.02432298  0.03252029  0.21101422 -0.08303961  0.06761978 -0.2526977043
[7,]  0.18144260 -0.06309210 -0.01358002  0.14268387 -0.24786632  0.0004119798
[8,]  0.24194957 -0.10345413 -0.13849544 -0.12203926  0.21368947 -0.0916502108

$StdErrors
 [1] 0.07306917 0.08621978 0.07306917 0.07254073 0.07855450 0.08603019
 [7] 0.07903559 0.07903559 0.09617065 0.08630054 0.11284201 0.13775181
[13] 0.08664043 0.07903559 0.11284201 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  
                         8.060                           9.142  
                as.factor(cp)3                  as.factor(cp)4  
                        10.083                          10.888  
                as.factor(cp)5                  as.factor(cp)6  
                        11.600                           9.743  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                         4.099                           3.062  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                         2.595                           1.022  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                        -1.711                          -1.846  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                        -2.977                          -4.017  
C(as.factor(pr), "contr.sum")9  
                         2.789  

> 
> 
> proc.time()
   user  system elapsed 
  2.664   0.060   2.736 

preprocessCore.Rcheck/tests/qnormtest.Rout


R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 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.216   0.004   0.223 

Example timings

preprocessCore.Rcheck/preprocessCore-Ex.timings

nameusersystemelapsed
colSummarize0.0040.0000.002
normalize.quantiles.in.blocks0.0360.0000.037
rcModelPLMd0.0160.0000.015
rcModelPLMr0.0360.0000.037
rcModels0.0080.0000.007
subColSummarize0.0080.0000.005
subrcModels0.0120.0000.015