Back to Multiple platform build/check report for BioC 3.23:   simplified   long
ABCDEFGHIJKLMNO[P]QRSTUVWXYZ

This page was generated on 2026-03-21 11:35 -0400 (Sat, 21 Mar 2026).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo1Linux (Ubuntu 24.04.3 LTS)x86_64R Under development (unstable) (2026-03-05 r89546) -- "Unsuffered Consequences" 4866
kjohnson3macOS 13.7.7 Venturaarm64R Under development (unstable) (2026-03-20 r89666) -- "Unsuffered Consequences" 4545
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 1647/2368HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
preprocessCore 1.73.0  (landing page)
Ben Bolstad
Snapshot Date: 2026-03-20 13:40 -0400 (Fri, 20 Mar 2026)
git_url: https://git.bioconductor.org/packages/preprocessCore
git_branch: devel
git_last_commit: bb678ea
git_last_commit_date: 2025-10-29 09:42:06 -0400 (Wed, 29 Oct 2025)
nebbiolo1Linux (Ubuntu 24.04.3 LTS) / x86_64  OK    OK    WARNINGS  UNNEEDED, same version is already published
kjohnson3macOS 13.7.7 Ventura / arm64  OK    OK    WARNINGS    ERROR  
See other builds for preprocessCore in R Universe.


CHECK results for preprocessCore on kjohnson3

To the developers/maintainers of the preprocessCore package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/preprocessCore.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: preprocessCore
Version: 1.73.0
Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings preprocessCore_1.73.0.tar.gz
StartedAt: 2026-03-21 00:39:04 -0400 (Sat, 21 Mar 2026)
EndedAt: 2026-03-21 00:39:20 -0400 (Sat, 21 Mar 2026)
EllapsedTime: 16.2 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: preprocessCore.Rcheck
Warnings: 2

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings preprocessCore_1.73.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.23-bioc/meat/preprocessCore.Rcheck’
* using R Under development (unstable) (2026-03-20 r89666)
* using platform: aarch64-apple-darwin23
* R was compiled by
    Apple clang version 17.0.0 (clang-1700.3.19.1)
    GNU Fortran (GCC) 14.2.0
* running under: macOS Tahoe 26.3.1
* using session charset: UTF-8
* current time: 2026-03-21 04:39:04 UTC
* using option ‘--no-vignettes’
* checking for file ‘preprocessCore/DESCRIPTION’ ... OK
* this is package ‘preprocessCore’ version ‘1.73.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 ... WARNING
Found the following significant warnings:
  qnorm.c:614:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  qnorm.c:635:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  qnorm.c:2029:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  qnorm.c:2632:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
See ‘/Users/biocbuild/bbs-3.23-bioc/meat/preprocessCore.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 17.0.0 (clang-1700.6.4.2)’
* used SDK: ‘MacOSX26.2.sdk’
* 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 code 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 ... WARNING
checkRd: (-1) colSummarize.Rd:41: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:42-43: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:44-45: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:46-48: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:49-50: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:51-52: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:53: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:54-55: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:56-57: Lost braces in \itemize; meant \describe ?
checkRd: (-1) colSummarize.Rd:58-60: Lost braces in \itemize; meant \describe ?
checkRd: (7) normalize.quantiles.Rd:47: Invalid email address: bmbolstad.com
checkRd: (7) rma.background.correct.Rd:35: Invalid email address: bmbolstad.com
checkRd: (-1) subColSummarize.Rd:44: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:45-46: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:47-48: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:49-51: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:52-53: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:54-55: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:56: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:57-58: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:59-60: Lost braces in \itemize; meant \describe ?
checkRd: (-1) subColSummarize.Rd:61-63: Lost braces in \itemize; meant \describe ?
* 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 ... INFO
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: 2 WARNINGs
See
  ‘/Users/biocbuild/bbs-3.23-bioc/meat/preprocessCore.Rcheck/00check.log’
for details.


Installation output

preprocessCore.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL preprocessCore
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.6/Resources/library’
* installing *source* package ‘preprocessCore’ ...
** this is package ‘preprocessCore’ version ‘1.73.0’
** using staged installation
'config' variable 'CPP' is defunct
checking for gcc... clang -arch arm64 -std=gnu23
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 the compiler supports GNU C... yes
checking whether clang -arch arm64 -std=gnu23 accepts -g... yes
checking for clang -arch arm64 -std=gnu23 option to enable C11 features... none needed
checking how to run the C preprocessor... clang -arch arm64 -std=gnu23 -E
checking for library containing pthread_create... none required
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for stdlib.h... (cached) yes
checking if PTHREAD_STACK_MIN is defined... yes
checking if __pthread_get_minstack can be used... no
configure: Enabling threading for preprocessCore
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.6.4.2)’
using SDK: ‘MacOSX26.2.sdk’
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_colSummarize.c -o R_colSummarize.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_plmd_interfaces.c -o R_plmd_interfaces.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_plmr_interfaces.c -o R_plmr_interfaces.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_rlm_interfaces.c -o R_rlm_interfaces.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_subColSummarize.c -o R_subColSummarize.o
R_subColSummarize.c:125:21: warning: unused variable 'buffer' [-Wunused-variable]
  125 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:127:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  127 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:131:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  131 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:133:9: warning: unused variable 'j' [-Wunused-variable]
  133 |   int i,j;
      |         ^
R_subColSummarize.c:301:21: warning: unused variable 'buffer' [-Wunused-variable]
  301 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:303:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  303 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:307:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  307 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:309:9: warning: unused variable 'j' [-Wunused-variable]
  309 |   int i,j;
      |         ^
R_subColSummarize.c:480:21: warning: unused variable 'buffer' [-Wunused-variable]
  480 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:482:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  482 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:486:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  486 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:488:9: warning: unused variable 'j' [-Wunused-variable]
  488 |   int i,j;
      |         ^
R_subColSummarize.c:660:21: warning: unused variable 'buffer' [-Wunused-variable]
  660 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:662:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  662 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:666:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  666 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:668:9: warning: unused variable 'j' [-Wunused-variable]
  668 |   int i,j;
      |         ^
R_subColSummarize.c:839:21: warning: unused variable 'buffer' [-Wunused-variable]
  839 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:841:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  841 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:845:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  845 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:847:9: warning: unused variable 'j' [-Wunused-variable]
  847 |   int i,j;
      |         ^
R_subColSummarize.c:1019:21: warning: unused variable 'buffer' [-Wunused-variable]
 1019 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:1021:8: warning: unused variable 'cur_rows' [-Wunused-variable]
 1021 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:1025:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
 1025 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:1027:9: warning: unused variable 'j' [-Wunused-variable]
 1027 |   int i,j;
      |         ^
R_subColSummarize.c:1197:21: warning: unused variable 'buffer' [-Wunused-variable]
 1197 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:1199:8: warning: unused variable 'cur_rows' [-Wunused-variable]
 1199 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:1203:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
 1203 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:1205:9: warning: unused variable 'j' [-Wunused-variable]
 1205 |   int i,j;
      |         ^
R_subColSummarize.c:1374:21: warning: unused variable 'buffer' [-Wunused-variable]
 1374 |   double *results, *buffer;
      |                     ^~~~~~
R_subColSummarize.c:1376:8: warning: unused variable 'cur_rows' [-Wunused-variable]
 1376 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:1380:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
 1380 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:1382:9: warning: unused variable 'j' [-Wunused-variable]
 1382 |   int i,j;
      |         ^
R_subColSummarize.c:1556:21: warning: variable 'buffer' set but not used [-Wunused-but-set-variable]
 1556 |   double *results, *buffer, *buffer2;
      |                     ^
R_subColSummarize.c:1556:30: warning: variable 'buffer2' set but not used [-Wunused-but-set-variable]
 1556 |   double *results, *buffer, *buffer2;
      |                              ^
R_subColSummarize.c:1558:8: warning: unused variable 'cur_rows' [-Wunused-variable]
 1558 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:1562:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
 1562 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:1564:9: warning: unused variable 'j' [-Wunused-variable]
 1564 |   int i,j;
      |         ^
R_subColSummarize.c:1739:21: warning: unused variable 'buffer' [-Wunused-variable]
 1739 |   double *results, *buffer, *buffer2;
      |                     ^~~~~~
R_subColSummarize.c:1739:30: warning: unused variable 'buffer2' [-Wunused-variable]
 1739 |   double *results, *buffer, *buffer2;
      |                              ^~~~~~~
R_subColSummarize.c:1741:8: warning: unused variable 'cur_rows' [-Wunused-variable]
 1741 |   int *cur_rows;
      |        ^~~~~~~~
R_subColSummarize.c:1745:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
 1745 |   int ncur_rows;
      |       ^~~~~~~~~
R_subColSummarize.c:1747:9: warning: unused variable 'j' [-Wunused-variable]
 1747 |   int i,j;
      |         ^
R_subColSummarize.c:1703:14: warning: unused function 'subColSummarize_medianpolish_group' [-Wunused-function]
 1703 | static void *subColSummarize_medianpolish_group(void *data){
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c R_subrcModel_interfaces.c -o R_subrcModel_interfaces.o
R_subrcModel_interfaces.c:87:11: warning: unused variable 'buffer' [-Wunused-variable]
   87 |   double *buffer, *buffer2;
      |           ^~~~~~
R_subrcModel_interfaces.c:87:20: warning: unused variable 'buffer2' [-Wunused-variable]
   87 |   double *buffer, *buffer2;
      |                    ^~~~~~~
R_subrcModel_interfaces.c:102:11: warning: unused variable 'weights' [-Wunused-variable]
  102 |   double *weights;
      |           ^~~~~~~
R_subrcModel_interfaces.c:103:11: warning: unused variable 'se' [-Wunused-variable]
  103 |   double *se;
      |           ^~
R_subrcModel_interfaces.c:177:11: warning: unused variable 'results' [-Wunused-variable]
  177 |   double *results, *buffer, *buffer2;
      |           ^~~~~~~
R_subrcModel_interfaces.c:177:21: warning: unused variable 'buffer' [-Wunused-variable]
  177 |   double *results, *buffer, *buffer2;
      |                     ^~~~~~
R_subrcModel_interfaces.c:177:30: warning: unused variable 'buffer2' [-Wunused-variable]
  177 |   double *results, *buffer, *buffer2;
      |                              ^~~~~~~
R_subrcModel_interfaces.c:179:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  179 |   int *cur_rows;
      |        ^~~~~~~~
R_subrcModel_interfaces.c:183:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  183 |   int ncur_rows;
      |       ^~~~~~~~~
R_subrcModel_interfaces.c:185:9: warning: unused variable 'j' [-Wunused-variable]
  185 |   int i,j;
      |         ^
R_subrcModel_interfaces.c:392:11: warning: unused variable 'buffer' [-Wunused-variable]
  392 |   double *buffer, *buffer2;
      |           ^~~~~~
R_subrcModel_interfaces.c:392:20: warning: unused variable 'buffer2' [-Wunused-variable]
  392 |   double *buffer, *buffer2;
      |                    ^~~~~~~
R_subrcModel_interfaces.c:413:10: warning: unused variable 'scale' [-Wunused-variable]
  413 |   double scale=-1.0;
      |          ^~~~~
R_subrcModel_interfaces.c:502:11: warning: unused variable 'results' [-Wunused-variable]
  502 |   double *results, *buffer, *buffer2;
      |           ^~~~~~~
R_subrcModel_interfaces.c:502:21: warning: unused variable 'buffer' [-Wunused-variable]
  502 |   double *results, *buffer, *buffer2;
      |                     ^~~~~~
R_subrcModel_interfaces.c:502:30: warning: unused variable 'buffer2' [-Wunused-variable]
  502 |   double *results, *buffer, *buffer2;
      |                              ^~~~~~~
R_subrcModel_interfaces.c:504:8: warning: unused variable 'cur_rows' [-Wunused-variable]
  504 |   int *cur_rows;
      |        ^~~~~~~~
R_subrcModel_interfaces.c:508:7: warning: unused variable 'ncur_rows' [-Wunused-variable]
  508 |   int ncur_rows;
      |       ^~~~~~~~~
R_subrcModel_interfaces.c:510:9: warning: unused variable 'j' [-Wunused-variable]
  510 |   int i,j;
      |         ^
19 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c avg.c -o avg.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c avg_log.c -o avg_log.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c biweight.c -o biweight.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c init_package.c -o init_package.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c lm.c -o lm.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c log_avg.c -o log_avg.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c log_median.c -o log_median.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c matrix_functions.c -o matrix_functions.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c median.c -o median.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c median_log.c -o median_log.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c medianpolish.c -o medianpolish.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c plmd.c -o plmd.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c plmr.c -o plmr.o
plmr.c:82:13: warning: unused function 'XTWY_R' [-Wunused-function]
   82 | static void XTWY_R(int *rows, int *cols, double *out_weights, double *y,double *xtwy){
      |             ^~~~~~
plmr.c:152:13: warning: unused function 'XTWX_R' [-Wunused-function]
  152 | static void XTWX_R(int *rows, int *cols, double *out_weights, double *xtwx){
      |             ^~~~~~
plmr.c:279:13: warning: unused function 'XTWX_R_inv' [-Wunused-function]
  279 | static void XTWX_R_inv(int *rows, int *cols, double *xtwx){
      |             ^~~~~~~~~~
3 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c psi_fns.c -o psi_fns.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c qnorm.c -o qnorm.o
qnorm.c:614:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  613 |          error("ERROR; return code from pthread_join(thread #%d) is %d, exit status for thread was %d\n", 
      |                                                              ~~
      |                                                              %zu
  614 |                i, returnCode, *((int *) status));
      |                ^
qnorm.c:635:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  634 |          error("ERROR; return code from pthread_join(thread #%d) is %d, exit status for thread was %d\n", 
      |                                                              ~~
      |                                                              %zu
  635 |                i, returnCode, *((int *) status));
      |                ^
qnorm.c:2029:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
 2028 |          error("ERROR; return code from pthread_join(thread #%d) is %d, exit status for thread was %d\n", 
      |                                                              ~~
      |                                                              %zu
 2029 |                i, returnCode, *((int *) status));
      |                ^
qnorm.c:1926:12: warning: unused variable 'j' [-Wunused-variable]
 1926 |   size_t i,j,row_mean_ind;
      |            ^
qnorm.c:1931:7: warning: unused variable 'non_na' [-Wunused-variable]
 1931 |   int non_na;
      |       ^~~~~~
qnorm.c:2126:14: warning: variable 'target_rows' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
 2126 |   } else if (isMatrix(target)){
      |              ^~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:969:19: note: expanded from macro 'isMatrix'
  969 | #define isMatrix                Rf_isMatrix
      |                                 ^
qnorm.c:2139:55: note: uninitialized use occurs here
 2139 |   qnorm_c_using_target_l(Xptr, rows, cols ,targetptr, target_rows);
      |                                                       ^~~~~~~~~~~
qnorm.c:2126:10: note: remove the 'if' if its condition is always true
 2126 |   } else if (isMatrix(target)){
      |          ^~~~~~~~~~~~~~~~~~~~~
qnorm.c:2107:21: note: initialize the variable 'target_rows' to silence this warning
 2107 |   size_t target_rows, target_cols;
      |                     ^
      |                      = 0
qnorm.c:2632:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
 2631 |          error("ERROR; return code from pthread_join(thread #%d) is %d, exit status for thread was %d\n", 
      |                                                              ~~
      |                                                              %zu
 2632 |                i, returnCode, *((int *) status));
      |                ^
qnorm.c:2528:12: warning: unused variable 'j' [-Wunused-variable]
 2528 |   size_t i,j,row_mean_ind;
      |            ^
qnorm.c:2533:7: warning: unused variable 'non_na' [-Wunused-variable]
 2533 |   int non_na;
      |       ^~~~~~
qnorm.c:2752:14: warning: variable 'ind' set but not used [-Wunused-but-set-variable]
 2752 |   size_t i,j,ind,target_ind;
      |              ^
qnorm.c:2850:11: warning: unused variable 'sample_percentiles' [-Wunused-variable]
 2850 |   double *sample_percentiles;
      |           ^~~~~~~~~~~~~~~~~~
qnorm.c:2851:11: warning: unused variable 'datvec' [-Wunused-variable]
 2851 |   double *datvec;
      |           ^~~~~~
qnorm.c:2984:12: warning: unused variable 'j' [-Wunused-variable]
 2984 |   size_t i,j,ind,target_ind;
      |            ^
qnorm.c:2984:14: warning: unused variable 'ind' [-Wunused-variable]
 2984 |   size_t i,j,ind,target_ind;
      |              ^~~
qnorm.c:2984:18: warning: unused variable 'target_ind' [-Wunused-variable]
 2984 |   size_t i,j,ind,target_ind;
      |                  ^~~~~~~~~~
qnorm.c:2986:14: warning: unused variable 'dimat' [-Wunused-variable]
 2986 |   dataitem **dimat;
      |              ^~~~~
qnorm.c:2988:11: warning: unused variable 'row_mean' [-Wunused-variable]
 2988 |   double *row_mean = target;
      |           ^~~~~~~~
qnorm.c:2990:11: warning: unused variable 'ranks' [-Wunused-variable]
 2990 |   double *ranks = (double *)R_Calloc((rows),double);
      |           ^~~~~
qnorm.c:2991:10: warning: unused variable 'samplepercentile' [-Wunused-variable]
 2991 |   double samplepercentile;
      |          ^~~~~~~~~~~~~~~~
qnorm.c:2992:10: warning: unused variable 'target_ind_double' [-Wunused-variable]
 2992 |   double target_ind_double,target_ind_double_floor;
      |          ^~~~~~~~~~~~~~~~~
qnorm.c:2992:28: warning: unused variable 'target_ind_double_floor' [-Wunused-variable]
 2992 |   double target_ind_double,target_ind_double_floor;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
qnorm.c:2994:7: warning: unused variable 'targetnon_na' [-Wunused-variable]
 2994 |   int targetnon_na = targetrows;
      |       ^~~~~~~~~~~~
qnorm.c:2995:7: warning: unused variable 'non_na' [-Wunused-variable]
 2995 |   int non_na = 0;
      |       ^~~~~~
qnorm.c:2999:11: warning: unused variable 'sample_percentiles' [-Wunused-variable]
 2999 |   double *sample_percentiles;
      |           ^~~~~~~~~~~~~~~~~~
qnorm.c:3000:11: warning: unused variable 'datvec' [-Wunused-variable]
 3000 |   double *datvec;
      |           ^~~~~~
qnorm.c:3258:14: warning: variable 'target_rows' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
 3258 |   } else if (isMatrix(target)){
      |              ^~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:969:19: note: expanded from macro 'isMatrix'
  969 | #define isMatrix                Rf_isMatrix
      |                                 ^
qnorm.c:3272:77: note: uninitialized use occurs here
 3272 |   qnorm_c_using_target_via_subset_l(Xptr, rows, cols, subsetptr, targetptr, target_rows);
      |                                                                             ^~~~~~~~~~~
qnorm.c:3258:10: note: remove the 'if' if its condition is always true
 3258 |   } else if (isMatrix(target)){
      |          ^~~~~~~~~~~~~~~~~~~~~
qnorm.c:3239:21: note: initialize the variable 'target_rows' to silence this warning
 3239 |   size_t target_rows, target_cols;
      |                     ^
      |                      = 0
26 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c rlm.c -o rlm.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c rlm_anova.c -o rlm_anova.o
rlm_anova.c:1235:10: warning: unused variable 'endprobe' [-Wunused-variable]
 1235 |   double endprobe;
      |          ^~~~~~~~
rlm_anova.c:1414:10: warning: unused variable 'k1' [-Wunused-variable]
 1414 |   double k1 = psi_k;   /*  was 1.345; */
      |          ^~
rlm_anova.c:1415:10: warning: unused variable 'sumpsi2' [-Wunused-variable]
 1415 |   double sumpsi2=0.0;  /* sum of psi(r_i)^2 */
      |          ^~~~~~~
rlm_anova.c:1417:10: warning: unused variable 'sumderivpsi' [-Wunused-variable]
 1417 |   double sumderivpsi=0.0; /* sum of psi'(r_i) */
      |          ^~~~~~~~~~~
rlm_anova.c:1418:10: warning: unused variable 'Kappa' [-Wunused-variable]
 1418 |   double Kappa=0.0;      /* A correction factor */
      |          ^~~~~
rlm_anova.c:1419:10: warning: unused variable 'scale' [-Wunused-variable]
 1419 |   double scale=0.0;
      |          ^~~~~
rlm_anova.c:1426:10: warning: unused variable 'vs' [-Wunused-variable]
 1426 |   double vs=0.0,m,varderivpsi=0.0; 
      |          ^~
rlm_anova.c:1426:17: warning: unused variable 'm' [-Wunused-variable]
 1426 |   double vs=0.0,m,varderivpsi=0.0; 
      |                 ^
rlm_anova.c:1426:19: warning: unused variable 'varderivpsi' [-Wunused-variable]
 1426 |   double vs=0.0,m,varderivpsi=0.0; 
      |                   ^~~~~~~~~~~
rlm_anova.c:1505:10: warning: unused variable 'endprobe' [-Wunused-variable]
 1505 |   double endprobe;
      |          ^~~~~~~~
10 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c rlm_se.c -o rlm_se.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c rma_background4.c -o rma_background4.o
rma_background4.c:369:10: warning: unused variable 'j' [-Wunused-variable]
  369 |   size_t j;
      |          ^
rma_background4.c:370:10: warning: unused variable 'param' [-Wunused-variable]
  370 |   double param[3];
      |          ^~~~~
2 warnings generated.
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c rma_common.c -o rma_common.o
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include  -I/opt/R/arm64/include   -falign-functions=64 -Wall -g -O2  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DUSE_PTHREADS=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c weightedkerneldensity.c -o weightedkerneldensity.o
clang -arch arm64 -std=gnu23 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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 -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R
installing to /Library/Frameworks/R.framework/Versions/4.6/Resources/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 Under development (unstable) (2026-03-20 r89666) -- "Unsuffered Consequences"
Copyright (C) 2026 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin23

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.001651       0.967756  

> 
> 
> 
> 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.65745
> sum((resid(lm(values ~ as.factor(group.labels)))/sc)^2)/2
[1] 43.49897
> 
> 
> 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.2123                          9.2534  
                as.factor(cp)3                  as.factor(cp)4  
                       10.2189                         11.1904  
                as.factor(cp)5                  as.factor(cp)6  
                       12.2129                         10.1960  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                        3.7690                          2.7761  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                        1.8107                          0.7694  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                       -1.2802                         -2.1504  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                       -3.1818                         -4.2154  

> 
> 
> 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.3111989  9.3033229 10.4029450 11.2752065 12.2804961 10.2810296
 [7]  3.7510764  2.8597952  1.5948396  0.5693536 -2.1055710 -2.3450940
[13] -3.3493904 -0.9750094

$Weights
          [,1]      [,2]      [,3]      [,4]      [,5]      [,6]
[1,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[2,] 1.0000000 1.0000000 1.0000000 1.0000000 0.6106109 1.0000000
[3,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 0.8612157
[4,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 0.6731290
[5,] 0.4154648 0.6002065 1.0000000 0.5692963 0.9901187 1.0000000
[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.1122752 0.1016587 0.1070573 0.1032697 0.1064747 0.1110774

$Residuals
            [,1]         [,2]        [,3]        [,4]         [,5]        [,6]
[1,] -0.16090335  0.111592416 -0.26022461  0.26464583  0.018103100  0.02678661
[2,]  0.27174359 -0.144290806  0.11934387  0.06102624 -0.587195159  0.05072488
[3,]  0.01276288 -0.339132071  0.18362276 -0.20975890 -0.006015519  0.41629624
[4,] -0.13107301  0.090535470  0.13353569  0.17595224  0.089655560 -0.53274473
[5,]  0.86329282  0.597661714  0.26270727 -0.62955137 -0.361860369 -0.26340954
[6,]  0.02620131  0.001911798  0.06117077 -0.13283158 -0.048547358  0.09209506
[7,] -0.01884484  0.279216738 -0.14159495 -0.15919121  0.305077769 -0.26466351
[8,] -3.19353182 -3.527035561 -3.34924097  3.47206036  3.367552098  3.22794442

$StdErrors
 [1] 0.2186653 0.2160820 0.2102157 0.2164998 0.2158071 0.2164313 0.2160230
 [8] 0.2218894 0.2179554 0.2208496 0.2408973 0.2160230 0.2160230 0.5789478

$Scale
[1] 0.2665493

> rcModelPLMd(y,c(1,1,1,2,2,2))
$Estimates
 [1]  8.0755379  8.9900528 10.0918479 10.9667133 12.0092733  9.9786469
 [7]  4.0347698  3.1757881  1.8716204  0.8791255 -1.2253945 -2.2298119
[13] -2.0547395 -3.0812978 -4.0449361  2.6748757

$Weights
     [,1]      [,2]      [,3]      [,4]      [,5]      [,6]
[1,]    1 1.0000000 1.0000000 0.8619205 1.0000000 1.0000000
[2,]    1 1.0000000 1.0000000 1.0000000 0.3947796 1.0000000
[3,]    1 0.8242591 1.0000000 1.0000000 1.0000000 0.5645959
[4,]    1 1.0000000 1.0000000 1.0000000 1.0000000 0.4619046
[5,]    1 1.0000000 0.8144754 1.0000000 1.0000000 1.0000000
[6,]    1 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
[7,]    1 0.7691968 1.0000000 1.0000000 0.8095442 1.0000000
[8,]    1 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000

$Residuals
            [,1]        [,2]        [,3]        [,4]         [,5]        [,6]
[1,] -0.20893569  0.14116913 -0.23282093  0.28944561  0.005632455  0.04547594
[2,]  0.19141167 -0.14701368  0.11444797  0.05352644 -0.631965387  0.03711462
[3,] -0.02835685 -0.30264275  0.21793905 -0.17804651 -0.011573555  0.44189817
[4,] -0.20518390  0.09403363  0.13486082  0.17467347  0.051106363 -0.54013396
[5,]  0.21877733  0.03075528 -0.30637220 -0.19681732  0.033603259  0.16321406
[6,] -0.02849212  0.02482742  0.08191337 -0.11469289 -0.067679089  0.10412330
[7,] -0.05127639  0.32439423 -0.09859049 -0.11879065  0.308207905 -0.23037341
[8,]  0.11205594 -0.14383875  0.03178281  0.13066836 -0.011110326 -0.11955804

$StdErrors
 [1] 0.07836984 0.09315318 0.08484453 0.08518901 0.09300272 0.09300272
 [7] 0.09371191 0.09350713 0.10445106 0.09350713 0.14866161 0.12318024
[13] 0.08553454 0.10445106 0.12164969 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.0473                          9.0083  
                as.factor(cp)3                  as.factor(cp)4  
                       10.0036                         10.7479  
                as.factor(cp)5                  as.factor(cp)6  
                       11.7450                          9.7426  
C(as.factor(pr), "contr.sum")1  C(as.factor(pr), "contr.sum")2  
                        4.1776                          3.2482  
C(as.factor(pr), "contr.sum")3  C(as.factor(pr), "contr.sum")4  
                        2.1954                          0.9669  
C(as.factor(pr), "contr.sum")5  C(as.factor(pr), "contr.sum")6  
                       -1.6009                         -1.9185  
C(as.factor(pr), "contr.sum")7  C(as.factor(pr), "contr.sum")8  
                       -2.9228                         -4.0122  
C(as.factor(pr), "contr.sum")9  
                        2.9146  

> 
> 
> proc.time()
   user  system elapsed 
  0.720   0.077   0.827 

preprocessCore.Rcheck/tests/qnormtest.Rout


R Under development (unstable) (2026-03-20 r89666) -- "Unsuffered Consequences"
Copyright (C) 2026 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin23

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)")
+ }
> 
> 
> x <- matrix(c(100,15,200,250,110,16.5,220,275,120,18,240,300),ncol=3)
> rownames(x) <- letters[1:4]
> colnames(x) <- LETTERS[1:3]
> y <- normalize.quantiles(x, keep.names = TRUE)
> if(!all(colnames(x)==colnames(y))){
+     stop("Disagreement between initial and final column names despite keep.names=TRUE")
+ }
> if(!all(rownames(x)==rownames(y))){
+     stop("Disagreement between initial and final row names despite keep.names=TRUE")
+ }
> 
> proc.time()
   user  system elapsed 
  0.096   0.046   0.139 

Example timings

preprocessCore.Rcheck/preprocessCore-Ex.timings

nameusersystemelapsed
colSummarize0.0010.0020.003
normalize.quantiles.in.blocks0.0200.0020.025
rcModelPLMd0.0070.0030.010
rcModelPLMr0.0100.0020.013
rcModels0.0010.0040.005
subColSummarize0.0020.0020.005
subrcModels0.0020.0050.008