Back to Multiple platform build/check report for BioC 3.11 |
|
This page was generated on 2020-10-17 11:59:14 -0400 (Sat, 17 Oct 2020).
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 1347/1905 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||
preprocessCore 1.50.0 Ben Bolstad
| malbec2 | Linux (Ubuntu 18.04.4 LTS) / x86_64 | OK | OK | WARNINGS | |||||||
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | OK | |||||||
machv2 | macOS 10.14.6 Mojave / x86_64 | OK | OK | [ WARNINGS ] | OK |
Package: preprocessCore |
Version: 1.50.0 |
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings preprocessCore_1.50.0.tar.gz |
StartedAt: 2020-10-17 04:05:39 -0400 (Sat, 17 Oct 2020) |
EndedAt: 2020-10-17 04:06:12 -0400 (Sat, 17 Oct 2020) |
EllapsedTime: 33.7 seconds |
RetCode: 0 |
Status: WARNINGS |
CheckDir: preprocessCore.Rcheck |
Warnings: 1 |
############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:preprocessCore.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings preprocessCore_1.50.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/Users/biocbuild/bbs-3.11-bioc/meat/preprocessCore.Rcheck’ * using R version 4.0.3 (2020-10-10) * using platform: x86_64-apple-darwin17.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-vignettes’ * checking for file ‘preprocessCore/DESCRIPTION’ ... OK * this is package ‘preprocessCore’ version ‘1.50.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: 'config' variable 'CPP' is deprecated See ‘/Users/biocbuild/bbs-3.11-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 ‘/Users/biocbuild/bbs-3.11-bioc/meat/preprocessCore.Rcheck/00check.log’ for details.
preprocessCore.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL preprocessCore ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’ * installing *source* package ‘preprocessCore’ ... ** using staged installation 'config' variable 'CPP' is deprecated checking for gcc... clang -mmacosx-version-min=10.13 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 clang -mmacosx-version-min=10.13 accepts -g... yes checking for clang -mmacosx-version-min=10.13 option to accept ISO C89... none needed checking how to run the C preprocessor... clang -mmacosx-version-min=10.13 -E checking for library containing pthread_create... none required checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_colSummarize.c -o R_colSummarize.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_plmd_interfaces.c -o R_plmd_interfaces.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_plmr_interfaces.c -o R_plmr_interfaces.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_rlm_interfaces.c -o R_rlm_interfaces.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_subColSummarize.c -o R_subColSummarize.o R_subColSummarize.c:107:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:109:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:115:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:113:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:282:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:286:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:288:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:280:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:458:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:462:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:464:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:456:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:633:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:635:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:639:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:641:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:811:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:809:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:817:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:815:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:992:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:994:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:986:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:988:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:1161:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:1163:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:1169:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:1167:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:1341:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:1343:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:1335:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer; ^ R_subColSummarize.c:1337:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:1516:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:1522:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:1520:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:1694:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subColSummarize.c:1694:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subColSummarize.c:1696:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subColSummarize.c:1700:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subColSummarize.c:1702:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subColSummarize.c:1658:14: warning: unused function 'subColSummarize_medianpolish_group' [-Wunused-function] static void *subColSummarize_medianpolish_group(void *data){ ^ 41 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c R_subrcModel_interfaces.c -o R_subrcModel_interfaces.o R_subrcModel_interfaces.c:89:11: warning: unused variable 'se' [-Wunused-variable] double *se; ^ R_subrcModel_interfaces.c:88:11: warning: unused variable 'weights' [-Wunused-variable] double *weights; ^ R_subrcModel_interfaces.c:73:20: warning: unused variable 'buffer2' [-Wunused-variable] double *buffer, *buffer2; ^ R_subrcModel_interfaces.c:73:11: warning: unused variable 'buffer' [-Wunused-variable] double *buffer, *buffer2; ^ R_subrcModel_interfaces.c:169:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ R_subrcModel_interfaces.c:171:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subrcModel_interfaces.c:163:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:163:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:163:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:165:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subrcModel_interfaces.c:396:10: warning: unused variable 'scale' [-Wunused-variable] double scale=-1.0; ^ R_subrcModel_interfaces.c:375:11: warning: unused variable 'buffer' [-Wunused-variable] double *buffer, *buffer2; ^ R_subrcModel_interfaces.c:375:20: warning: unused variable 'buffer2' [-Wunused-variable] double *buffer, *buffer2; ^ R_subrcModel_interfaces.c:483:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:485:8: warning: unused variable 'cur_rows' [-Wunused-variable] int *cur_rows; ^ R_subrcModel_interfaces.c:483:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:483:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^ R_subrcModel_interfaces.c:491:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ R_subrcModel_interfaces.c:489:7: warning: unused variable 'ncur_rows' [-Wunused-variable] int ncur_rows; ^ 19 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c avg.c -o avg.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c avg_log.c -o avg_log.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c biweight.c -o biweight.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c init_package.c -o init_package.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c lm.c -o lm.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c log_avg.c -o log_avg.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c log_median.c -o log_median.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c matrix_functions.c -o matrix_functions.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c median.c -o median.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c median_log.c -o median_log.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c medianpolish.c -o medianpolish.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c plmd.c -o plmd.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c plmr.c -o plmr.o plmr.c:82:13: warning: unused function 'XTWY_R' [-Wunused-function] 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] 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] static void XTWX_R_inv(int *rows, int *cols, double *xtwx){ ^ 3 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c psi_fns.c -o psi_fns.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c qnorm.c -o qnorm.o qnorm.c:1901:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c:1906:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^ qnorm.c:2098:14: warning: variable 'target_rows' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (isMatrix(target)){ ^~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1597:19: note: expanded from macro 'isMatrix' #define isMatrix Rf_isMatrix ^ qnorm.c:2111:55: note: uninitialized use occurs here qnorm_c_using_target_l(Xptr, rows, cols ,targetptr, target_rows); ^~~~~~~~~~~ qnorm.c:2098:10: note: remove the 'if' if its condition is always true } else if (isMatrix(target)){ ^~~~~~~~~~~~~~~~~~~~~ qnorm.c:2079:21: note: initialize the variable 'target_rows' to silence this warning size_t target_rows, target_cols; ^ = 0 qnorm.c:2500:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c:2505:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^ qnorm.c:2819:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^ qnorm.c:2820:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^ qnorm.c:2953:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,ind,target_ind; ^ qnorm.c:2953:14: warning: unused variable 'ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^ qnorm.c:2953:18: warning: unused variable 'target_ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^ qnorm.c:2955:14: warning: unused variable 'dimat' [-Wunused-variable] dataitem **dimat; ^ qnorm.c:2957:11: warning: unused variable 'row_mean' [-Wunused-variable] double *row_mean = target; ^ qnorm.c:2959:11: warning: unused variable 'ranks' [-Wunused-variable] double *ranks = (double *)Calloc((rows),double); ^ qnorm.c:2960:10: warning: unused variable 'samplepercentile' [-Wunused-variable] double samplepercentile; ^ qnorm.c:2961:10: warning: unused variable 'target_ind_double' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^ qnorm.c:2961:28: warning: unused variable 'target_ind_double_floor' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^ qnorm.c:2963:7: warning: unused variable 'targetnon_na' [-Wunused-variable] int targetnon_na = targetrows; ^ qnorm.c:2964:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na = 0; ^ qnorm.c:2968:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^ qnorm.c:2969:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^ qnorm.c:3224:14: warning: variable 'target_rows' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (isMatrix(target)){ ^~~~~~~~~~~~~~~~ /Library/Frameworks/R.framework/Resources/include/Rinternals.h:1597:19: note: expanded from macro 'isMatrix' #define isMatrix Rf_isMatrix ^ qnorm.c:3238:77: note: uninitialized use occurs here qnorm_c_using_target_via_subset_l(Xptr, rows, cols, subsetptr, targetptr, target_rows); ^~~~~~~~~~~ qnorm.c:3224:10: note: remove the 'if' if its condition is always true } else if (isMatrix(target)){ ^~~~~~~~~~~~~~~~~~~~~ qnorm.c:3205:21: note: initialize the variable 'target_rows' to silence this warning size_t target_rows, target_cols; ^ = 0 21 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c rlm.c -o rlm.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c rlm_anova.c -o rlm_anova.o rlm_anova.c:1235:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^ 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: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:1505:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^ 10 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c rlm_se.c -o rlm_se.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c rma_background4.c -o rma_background4.o rma_background4.c:353:10: warning: unused variable 'param' [-Wunused-variable] double param[3]; ^ rma_background4.c:352:10: warning: unused variable 'j' [-Wunused-variable] size_t j; ^ 2 warnings generated. clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c rma_common.c -o rma_common.o clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -I/usr/local/include -Wall -g -O2 -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 -Wall -g -O2 -c weightedkerneldensity.c -o weightedkerneldensity.o clang -mmacosx-version-min=10.13 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/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 -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Library/Frameworks/R.framework/Versions/4.0/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)
preprocessCore.Rcheck/tests/PLMdtest.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (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.02339 0.93941 > > > > 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] 39.2891 > sum((resid(lm(values ~ as.factor(group.labels)))/sc)^2)/2 [1] 38.95078 > > > 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.1896 9.2477 as.factor(cp)3 as.factor(cp)4 10.1864 11.2618 as.factor(cp)5 as.factor(cp)6 12.2611 10.2544 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 3.8225 2.8208 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 1.7645 0.7897 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.2301 -2.2224 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -3.2694 -4.1769 > > > 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.324660 9.341941 10.234412 11.319424 12.205975 10.214341 3.705636 [8] 2.651460 1.824613 0.757115 -2.129151 -2.441181 -3.233827 -1.134665 $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 1.0000000 1.0000000 [3,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 [4,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 [5,] 0.7453371 0.5836955 0.5707133 0.5597191 0.5603348 0.7973924 [6,] 1.0000000 1.0000000 1.0000000 1.0000000 0.8477449 1.0000000 [7,] 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 [8,] 0.1226386 0.1305303 0.1503954 0.1411475 0.1318355 0.1284084 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.22402258 0.13171958 0.19481600 -0.05071062 0.24508264 -0.29688503 [2,] -0.25049284 0.03508416 -0.07675923 0.16999937 -0.07768118 0.19984972 [3,] 0.01815016 -0.23658267 -0.09498389 0.11173950 0.24159253 -0.03991562 [4,] -0.11214541 -0.15619465 0.05269143 -0.23725705 0.04663692 0.40626876 [5,] 0.56177185 0.71735478 0.73367351 -0.74810966 -0.74719377 -0.52512854 [6,] 0.40298141 -0.15962378 0.08567818 0.13874775 -0.49377639 -0.04918713 [7,] 0.16554716 0.38560720 -0.16143295 -0.13251029 -0.03709097 -0.22012015 [8,] -3.41431784 -3.20788763 -2.78417252 2.96655986 3.17619526 3.26086889 $StdErrors [1] 0.2251124 0.2274675 0.2268570 0.2274396 0.2301502 0.2240631 0.2277944 [8] 0.2277944 0.2277944 0.2277944 0.2731667 0.2300697 0.2277944 0.5539493 $Scale [1] 0.3113194 > rcModelPLMd(y,c(1,1,1,2,2,2)) $Estimates [1] 7.915965 8.986325 9.951704 10.966191 11.901871 9.921322 4.054484 [8] 2.984356 2.157509 1.068129 -1.109211 -2.485842 -2.116131 -2.934839 [15] -3.935116 2.316662 $Weights [,1] [,2] [,3] [,4] [,5] [,6] [1,] 1.0000000 1.0000000 1.0000000 1 1.0000000 0.7286415 [2,] 1.0000000 1.0000000 1.0000000 1 1.0000000 1.0000000 [3,] 1.0000000 1.0000000 1.0000000 1 1.0000000 1.0000000 [4,] 1.0000000 1.0000000 1.0000000 1 1.0000000 0.6618568 [5,] 1.0000000 1.0000000 1.0000000 1 1.0000000 1.0000000 [6,] 0.5281205 1.0000000 1.0000000 1 0.4992804 1.0000000 [7,] 0.9337969 0.5811587 1.0000000 1 1.0000000 1.0000000 [8,] 1.0000000 1.0000000 0.8595412 1 1.0000000 1.0000000 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.16417557 0.13848779 0.128676122 -0.04632511 0.20033842 -0.35271346 [2,] -0.17469386 0.05780434 -0.126947144 0.19033684 -0.10647343 0.15997326 [3,] 0.09394913 -0.21386250 -0.145171800 0.13207697 0.21280028 -0.07979209 [4,] -0.01446438 -0.11159242 0.024385578 -0.19503752 0.03972673 0.38827436 [5,] -0.04947297 0.05303116 -0.003558196 -0.03818445 -0.08639828 0.12458273 [6,] 0.48662664 -0.12905735 0.043336521 0.16693148 -0.51472238 -0.08121734 [7,] 0.27525434 0.44223558 -0.177712662 -0.07826462 -0.03197502 -0.22608842 [8,] -0.20517149 -0.05182009 0.298986935 -0.13153359 0.02897209 0.10256150 $StdErrors [1] 0.09042336 0.08243256 0.08194852 0.07631457 0.08240965 0.09052548 [7] 0.09039687 0.08255836 0.08255836 0.09039687 0.11835219 0.11828664 [13] 0.10092513 0.10205518 0.14521423 0.00000000 $WasSplit [1] 0 0 0 0 1 0 0 1 > > ###R_plmd_model(SEXP Y, SEXP PsiCode, SEXP PsiK, SEXP Groups, SEXP Ngroups) > > > > > > pr[seq(3,48,8)][1:3] <- 10 > > y[seq(3,48,8)][1:3] <- c(8,9,10) -3 + rnorm(3,0,0.1) > lm(as.vector(y) ~ -1 + as.factor(cp) + C(as.factor(pr),"contr.sum")) Call: lm(formula = as.vector(y) ~ -1 + as.factor(cp) + C(as.factor(pr), "contr.sum")) Coefficients: as.factor(cp)1 as.factor(cp)2 7.950 9.067 as.factor(cp)3 as.factor(cp)4 9.999 10.734 as.factor(cp)5 as.factor(cp)6 11.638 9.694 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 4.132 3.078 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 2.487 1.184 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.704 -2.027 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -2.807 -3.975 C(as.factor(pr), "contr.sum")9 2.558 > > > proc.time() user system elapsed 2.987 0.177 3.144
preprocessCore.Rcheck/tests/qnormtest.Rout
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin17.0 (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.325 0.074 0.376
preprocessCore.Rcheck/preprocessCore-Ex.timings
name | user | system | elapsed | |
colSummarize | 0.004 | 0.005 | 0.008 | |
normalize.quantiles.in.blocks | 0.068 | 0.003 | 0.071 | |
rcModelPLMd | 0.018 | 0.004 | 0.021 | |
rcModelPLMr | 0.060 | 0.008 | 0.069 | |
rcModels | 0.011 | 0.018 | 0.028 | |
subColSummarize | 0.007 | 0.003 | 0.009 | |
subrcModels | 0.013 | 0.022 | 0.036 | |