Back to Multiple platform build/check report for BioC 3.13 |
|
This page was generated on 2021-10-15 15:06:16 -0400 (Fri, 15 Oct 2021).
To the developers/maintainers of the preprocessCore package: - Please 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 How and When does the builder pull? When will my changes propagate? here for more information. - Make sure to use the following settings in order to reproduce any error or warning you see on this page. |
Package 1429/2041 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
preprocessCore 1.54.0 (landing page) Ben Bolstad
| nebbiolo1 | Linux (Ubuntu 20.04.2 LTS) / x86_64 | OK | OK | OK | ![]() | ||||||||
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | OK | ![]() | ||||||||
machv2 | macOS 10.14.6 Mojave / x86_64 | OK | OK | OK | OK | ![]() | ||||||||
Package: preprocessCore |
Version: 1.54.0 |
Command: C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:preprocessCore.install-out.txt --library=C:\Users\biocbuild\bbs-3.13-bioc\R\library --no-vignettes --timings preprocessCore_1.54.0.tar.gz |
StartedAt: 2021-10-15 03:39:58 -0400 (Fri, 15 Oct 2021) |
EndedAt: 2021-10-15 03:40:48 -0400 (Fri, 15 Oct 2021) |
EllapsedTime: 49.2 seconds |
RetCode: 0 |
Status: OK |
CheckDir: preprocessCore.Rcheck |
Warnings: 0 |
############################################################################## ############################################################################## ### ### Running command: ### ### C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:preprocessCore.install-out.txt --library=C:\Users\biocbuild\bbs-3.13-bioc\R\library --no-vignettes --timings preprocessCore_1.54.0.tar.gz ### ############################################################################## ############################################################################## * using log directory 'C:/Users/biocbuild/bbs-3.13-bioc/meat/preprocessCore.Rcheck' * using R version 4.1.1 (2021-08-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * using option '--no-vignettes' * checking for file 'preprocessCore/DESCRIPTION' ... OK * this is package 'preprocessCore' version '1.54.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 whether package 'preprocessCore' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... 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 * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK * checking dependencies in R code ... 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 for i386 is not available Note: information on .o files for x64 is not available File 'C:/Users/biocbuild/bbs-3.13-bioc/R/library/preprocessCore/libs/i386/preprocessCore.dll': Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran) File 'C:/Users/biocbuild/bbs-3.13-bioc/R/library/preprocessCore/libs/x64/preprocessCore.dll': Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran) Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs. The detected symbols are linked into the code but might come from libraries and not actually be called. See 'Writing portable packages' in the 'Writing R Extensions' manual. * checking examples ... ** running examples for arch 'i386' ... OK ** running examples for arch 'x64' ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... Running 'PLMdtest.R' Running 'qnormtest.R' OK ** running tests for arch 'x64' ... Running 'PLMdtest.R' Running 'qnormtest.R' OK * checking PDF version of manual ... OK * DONE Status: 2 NOTEs See 'C:/Users/biocbuild/bbs-3.13-bioc/meat/preprocessCore.Rcheck/00check.log' for details.
preprocessCore.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### C:\cygwin\bin\curl.exe -O http://155.52.207.165/BBS/3.13/bioc/src/contrib/preprocessCore_1.54.0.tar.gz && rm -rf preprocessCore.buildbin-libdir && mkdir preprocessCore.buildbin-libdir && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=preprocessCore.buildbin-libdir preprocessCore_1.54.0.tar.gz && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL preprocessCore_1.54.0.zip && rm preprocessCore_1.54.0.tar.gz preprocessCore_1.54.0.zip ### ############################################################################## ############################################################################## % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131k 100 131k 0 0 684k 0 --:--:-- --:--:-- --:--:-- 690k install for i386 * installing *source* package 'preprocessCore' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_colSummarize.c -o R_colSummarize.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_plmd_interfaces.c -o R_plmd_interfaces.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_plmr_interfaces.c -o R_plmr_interfaces.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_rlm_interfaces.c -o R_rlm_interfaces.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_subColSummarize.c -o R_subColSummarize.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_subrcModel_interfaces.c -o R_subrcModel_interfaces.o R_subrcModel_interfaces.c: In function 'R_sub_rcModelSummarize_medianpolish': R_subrcModel_interfaces.c:207:11: warning: unused variable 'se' [-Wunused-variable] double *se; ^~ R_subrcModel_interfaces.c:206:11: warning: unused variable 'weights' [-Wunused-variable] double *weights; ^~~~~~~ R_subrcModel_interfaces.c:165:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c:165:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~ R_subrcModel_interfaces.c:165:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c: In function 'R_sub_rcModelSummarize_plm': R_subrcModel_interfaces.c:532:10: warning: unused variable 'scale' [-Wunused-variable] double scale=-1.0; ^~~~~ R_subrcModel_interfaces.c:485:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c:485:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~ R_subrcModel_interfaces.c:485:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c avg.c -o avg.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c avg_log.c -o avg_log.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c biweight.c -o biweight.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c init_package.c -o init_package.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c lm.c -o lm.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c log_avg.c -o log_avg.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c log_median.c -o log_median.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c matrix_functions.c -o matrix_functions.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c median.c -o median.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c median_log.c -o median_log.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c medianpolish.c -o medianpolish.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c plmd.c -o plmd.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c plmr.c -o plmr.o plmr.c:279:13: warning: 'XTWX_R_inv' defined but not used [-Wunused-function] static void XTWX_R_inv(int *rows, int *cols, double *xtwx){ ^~~~~~~~~~ plmr.c:152:13: warning: 'XTWX_R' defined but not used [-Wunused-function] static void XTWX_R(int *rows, int *cols, double *out_weights, double *xtwx){ ^~~~~~ plmr.c:82:13: warning: 'XTWY_R' defined but not used [-Wunused-function] static void XTWY_R(int *rows, int *cols, double *out_weights, double *y,double *xtwy){ ^~~~~~ "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c psi_fns.c -o psi_fns.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c qnorm.c -o qnorm.o qnorm.c: In function 'qnorm_c_determine_target_l': qnorm.c:1908:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^~~~~~ qnorm.c:1903:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c: In function 'qnorm_c_determine_target_via_subset_l': qnorm.c:2507:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^~~~~~ qnorm.c:2502:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c: In function 'using_target_via_subset_part1': qnorm.c:2723:14: warning: variable 'ind' set but not used [-Wunused-but-set-variable] size_t i,j,ind,target_ind; ^~~ qnorm.c: In function 'using_target_via_subset_part2': qnorm.c:2822:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^~~~~~ qnorm.c:2821:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^~~~~~~~~~~~~~~~~~ qnorm.c: In function 'using_target_via_subset': qnorm.c:2971:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^~~~~~ qnorm.c:2970:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^~~~~~~~~~~~~~~~~~ qnorm.c:2966:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na = 0; ^~~~~~ qnorm.c:2965:7: warning: unused variable 'targetnon_na' [-Wunused-variable] int targetnon_na = targetrows; ^~~~~~~~~~~~ qnorm.c:2963:28: warning: unused variable 'target_ind_double_floor' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^~~~~~~~~~~~~~~~~~~~~~~ qnorm.c:2963:10: warning: unused variable 'target_ind_double' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^~~~~~~~~~~~~~~~~ qnorm.c:2962:10: warning: unused variable 'samplepercentile' [-Wunused-variable] double samplepercentile; ^~~~~~~~~~~~~~~~ qnorm.c:2961:11: warning: unused variable 'ranks' [-Wunused-variable] double *ranks = (double *)Calloc((rows),double); ^~~~~ qnorm.c:2959:11: warning: unused variable 'row_mean' [-Wunused-variable] double *row_mean = target; ^~~~~~~~ qnorm.c:2957:14: warning: unused variable 'dimat' [-Wunused-variable] dataitem **dimat; ^~~~~ qnorm.c:2955:18: warning: unused variable 'target_ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^~~~~~~~~~ qnorm.c:2955:14: warning: unused variable 'ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^~~ qnorm.c:2955:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,ind,target_ind; ^ qnorm.c: In function 'R_qnorm_using_target': qnorm.c:2113:3: warning: 'target_rows' may be used uninitialized in this function [-Wmaybe-uninitialized] qnorm_c_using_target_l(Xptr, rows, cols ,targetptr, target_rows); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qnorm.c: In function 'R_qnorm_using_target_via_subset': qnorm.c:3240:3: warning: 'target_rows' may be used uninitialized in this function [-Wmaybe-uninitialized] qnorm_c_using_target_via_subset_l(Xptr, rows, cols, subsetptr, targetptr, target_rows); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm.c -o rlm.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm_anova.c -o rlm_anova.o rlm_anova.c: In function 'rlm_fit_anova_given_probe_effects_engine': rlm_anova.c:1235:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^~~~~~~~ rlm_anova.c: In function 'rlm_compute_se_anova_given_probe_effects': rlm_anova.c:1426:19: warning: unused variable 'varderivpsi' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^~~~~~~~~~~ rlm_anova.c:1426:17: warning: unused variable 'm' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^ rlm_anova.c:1426:10: warning: unused variable 'vs' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^~ rlm_anova.c:1419:10: warning: unused variable 'scale' [-Wunused-variable] double scale=0.0; ^~~~~ rlm_anova.c:1418:10: warning: unused variable 'Kappa' [-Wunused-variable] double Kappa=0.0; /* A correction factor */ ^~~~~ rlm_anova.c:1417:10: warning: unused variable 'sumderivpsi' [-Wunused-variable] double sumderivpsi=0.0; /* sum of psi'(r_i) */ ^~~~~~~~~~~ rlm_anova.c:1415:10: warning: unused variable 'sumpsi2' [-Wunused-variable] double sumpsi2=0.0; /* sum of psi(r_i)^2 */ ^~~~~~~ rlm_anova.c:1414:10: warning: unused variable 'k1' [-Wunused-variable] double k1 = psi_k; /* was 1.345; */ ^~ rlm_anova.c: In function 'rlm_wfit_anova_given_probe_effects_engine': rlm_anova.c:1505:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^~~~~~~~ "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm_se.c -o rlm_se.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rma_background4.c -o rma_background4.o rma_background4.c: In function 'R_rma_bg_correct': rma_background4.c:509:12: warning: 'PMcopy' may be used uninitialized in this function [-Wmaybe-uninitialized] return PMcopy; ^~~~~~ "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rma_common.c -o rma_common.o "C:/rtools40/mingw32/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"c:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c weightedkerneldensity.c -o weightedkerneldensity.o C:/rtools40/mingw32/bin/gcc -shared -s -static-libgcc -o preprocessCore.dll tmp.def 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 -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/i386 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/i386 -lRblas -lgfortran -lm -lquadmath -Lc:/extsoft/lib/i386 -Lc:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/i386 -lR installing to C:/Users/biocbuild/bbs-3.13-bioc/meat/preprocessCore.buildbin-libdir/00LOCK-preprocessCore/00new/preprocessCore/libs/i386 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package 'preprocessCore' finding HTML links ... done colSummarize html normalize.quantiles html normalize.quantiles.in.blocks html normalize.quantiles.robust html normalize.quantiles.target html rcModelPLMd html rcModelPLMr html rcModels html rma.background.correct html subColSummarize html subrcModels html ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path install for x64 * installing *source* package 'preprocessCore' ... ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_colSummarize.c -o R_colSummarize.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_plmd_interfaces.c -o R_plmd_interfaces.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_plmr_interfaces.c -o R_plmr_interfaces.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_rlm_interfaces.c -o R_rlm_interfaces.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_subColSummarize.c -o R_subColSummarize.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_subrcModel_interfaces.c -o R_subrcModel_interfaces.o R_subrcModel_interfaces.c: In function 'R_sub_rcModelSummarize_medianpolish': R_subrcModel_interfaces.c:207:11: warning: unused variable 'se' [-Wunused-variable] double *se; ^~ R_subrcModel_interfaces.c:206:11: warning: unused variable 'weights' [-Wunused-variable] double *weights; ^~~~~~~ R_subrcModel_interfaces.c:165:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c:165:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~ R_subrcModel_interfaces.c:165:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c: In function 'R_sub_rcModelSummarize_plm': R_subrcModel_interfaces.c:532:10: warning: unused variable 'scale' [-Wunused-variable] double scale=-1.0; ^~~~~ R_subrcModel_interfaces.c:485:30: warning: unused variable 'buffer2' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ R_subrcModel_interfaces.c:485:21: warning: unused variable 'buffer' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~ R_subrcModel_interfaces.c:485:11: warning: unused variable 'results' [-Wunused-variable] double *results, *buffer, *buffer2; ^~~~~~~ "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c avg.c -o avg.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c avg_log.c -o avg_log.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c biweight.c -o biweight.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c init_package.c -o init_package.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c lm.c -o lm.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c log_avg.c -o log_avg.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c log_median.c -o log_median.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c matrix_functions.c -o matrix_functions.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c median.c -o median.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c median_log.c -o median_log.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c medianpolish.c -o medianpolish.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c plmd.c -o plmd.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c plmr.c -o plmr.o plmr.c:279:13: warning: 'XTWX_R_inv' defined but not used [-Wunused-function] static void XTWX_R_inv(int *rows, int *cols, double *xtwx){ ^~~~~~~~~~ plmr.c:152:13: warning: 'XTWX_R' defined but not used [-Wunused-function] static void XTWX_R(int *rows, int *cols, double *out_weights, double *xtwx){ ^~~~~~ plmr.c:82:13: warning: 'XTWY_R' defined but not used [-Wunused-function] static void XTWY_R(int *rows, int *cols, double *out_weights, double *y,double *xtwy){ ^~~~~~ "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c psi_fns.c -o psi_fns.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c qnorm.c -o qnorm.o qnorm.c: In function 'qnorm_c_determine_target_l': qnorm.c:1908:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^~~~~~ qnorm.c:1903:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c: In function 'qnorm_c_determine_target_via_subset_l': qnorm.c:2507:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na; ^~~~~~ qnorm.c:2502:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,row_mean_ind; ^ qnorm.c: In function 'using_target_via_subset_part1': qnorm.c:2723:14: warning: variable 'ind' set but not used [-Wunused-but-set-variable] size_t i,j,ind,target_ind; ^~~ qnorm.c: In function 'using_target_via_subset_part2': qnorm.c:2822:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^~~~~~ qnorm.c:2821:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^~~~~~~~~~~~~~~~~~ qnorm.c: In function 'using_target_via_subset': qnorm.c:2971:11: warning: unused variable 'datvec' [-Wunused-variable] double *datvec; ^~~~~~ qnorm.c:2970:11: warning: unused variable 'sample_percentiles' [-Wunused-variable] double *sample_percentiles; ^~~~~~~~~~~~~~~~~~ qnorm.c:2966:7: warning: unused variable 'non_na' [-Wunused-variable] int non_na = 0; ^~~~~~ qnorm.c:2965:7: warning: unused variable 'targetnon_na' [-Wunused-variable] int targetnon_na = targetrows; ^~~~~~~~~~~~ qnorm.c:2963:28: warning: unused variable 'target_ind_double_floor' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^~~~~~~~~~~~~~~~~~~~~~~ qnorm.c:2963:10: warning: unused variable 'target_ind_double' [-Wunused-variable] double target_ind_double,target_ind_double_floor; ^~~~~~~~~~~~~~~~~ qnorm.c:2962:10: warning: unused variable 'samplepercentile' [-Wunused-variable] double samplepercentile; ^~~~~~~~~~~~~~~~ qnorm.c:2961:11: warning: unused variable 'ranks' [-Wunused-variable] double *ranks = (double *)Calloc((rows),double); ^~~~~ qnorm.c:2959:11: warning: unused variable 'row_mean' [-Wunused-variable] double *row_mean = target; ^~~~~~~~ qnorm.c:2957:14: warning: unused variable 'dimat' [-Wunused-variable] dataitem **dimat; ^~~~~ qnorm.c:2955:18: warning: unused variable 'target_ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^~~~~~~~~~ qnorm.c:2955:14: warning: unused variable 'ind' [-Wunused-variable] size_t i,j,ind,target_ind; ^~~ qnorm.c:2955:12: warning: unused variable 'j' [-Wunused-variable] size_t i,j,ind,target_ind; ^ qnorm.c: In function 'R_qnorm_using_target': qnorm.c:2113:3: warning: 'target_rows' may be used uninitialized in this function [-Wmaybe-uninitialized] qnorm_c_using_target_l(Xptr, rows, cols ,targetptr, target_rows); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qnorm.c: In function 'R_qnorm_using_target_via_subset': qnorm.c:3240:3: warning: 'target_rows' may be used uninitialized in this function [-Wmaybe-uninitialized] qnorm_c_using_target_via_subset_l(Xptr, rows, cols, subsetptr, targetptr, target_rows); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm.c -o rlm.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm_anova.c -o rlm_anova.o rlm_anova.c: In function 'rlm_fit_anova_given_probe_effects_engine': rlm_anova.c:1235:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^~~~~~~~ rlm_anova.c: In function 'rlm_compute_se_anova_given_probe_effects': rlm_anova.c:1426:19: warning: unused variable 'varderivpsi' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^~~~~~~~~~~ rlm_anova.c:1426:17: warning: unused variable 'm' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^ rlm_anova.c:1426:10: warning: unused variable 'vs' [-Wunused-variable] double vs=0.0,m,varderivpsi=0.0; ^~ rlm_anova.c:1419:10: warning: unused variable 'scale' [-Wunused-variable] double scale=0.0; ^~~~~ rlm_anova.c:1418:10: warning: unused variable 'Kappa' [-Wunused-variable] double Kappa=0.0; /* A correction factor */ ^~~~~ rlm_anova.c:1417:10: warning: unused variable 'sumderivpsi' [-Wunused-variable] double sumderivpsi=0.0; /* sum of psi'(r_i) */ ^~~~~~~~~~~ rlm_anova.c:1415:10: warning: unused variable 'sumpsi2' [-Wunused-variable] double sumpsi2=0.0; /* sum of psi(r_i)^2 */ ^~~~~~~ rlm_anova.c:1414:10: warning: unused variable 'k1' [-Wunused-variable] double k1 = psi_k; /* was 1.345; */ ^~ rlm_anova.c: In function 'rlm_wfit_anova_given_probe_effects_engine': rlm_anova.c:1505:10: warning: unused variable 'endprobe' [-Wunused-variable] double endprobe; ^~~~~~~~ "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rlm_se.c -o rlm_se.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rma_background4.c -o rma_background4.o rma_background4.c: In function 'R_rma_bg_correct': rma_background4.c:509:12: warning: 'PMcopy' may be used uninitialized in this function [-Wmaybe-uninitialized] return PMcopy; ^~~~~~ "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c rma_common.c -o rma_common.o "C:/rtools40/mingw64/bin/"gcc -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -I"C:/extsoft/include" -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c weightedkerneldensity.c -o weightedkerneldensity.o C:/rtools40/mingw64/bin/gcc -shared -s -static-libgcc -o preprocessCore.dll tmp.def 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 -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/x64 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/x64 -lR installing to C:/Users/biocbuild/bbs-3.13-bioc/meat/preprocessCore.buildbin-libdir/preprocessCore/libs/x64 ** testing if installed package can be loaded * MD5 sums packaged installation of 'preprocessCore' as preprocessCore_1.54.0.zip * DONE (preprocessCore) * installing to library 'C:/Users/biocbuild/bbs-3.13-bioc/R/library' package 'preprocessCore' successfully unpacked and MD5 sums checked
preprocessCore.Rcheck/tests_i386/PLMdtest.Rout R version 4.1.1 (2021-08-10) -- "Kick Things" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > > 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.01352 0.96798 > > > > 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] 57.84708 > sum((resid(lm(values ~ as.factor(group.labels)))/sc)^2)/2 [1] 56.9726 > > > 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.1817 9.2877 as.factor(cp)3 as.factor(cp)4 10.2397 11.2129 as.factor(cp)5 as.factor(cp)6 12.2633 10.2540 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 3.7934 2.7863 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 1.7327 0.7999 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.2210 -2.2427 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -3.2305 -4.1404 > > > 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.1991138 9.2846826 10.3362792 11.2287141 12.3003040 10.4651065 [7] 3.7403457 2.6889745 1.6039628 0.6418616 -2.0608412 -2.3503894 [13] -3.2938502 -0.9700638 $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 0.9600496 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.3119784 0.6060104 0.5291595 0.4835944 0.5194456 0.3821100 [6,] 0.7655837 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.1312318 0.1071612 0.1100718 0.1054351 0.1140056 0.1288411 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.17058698 0.12520888 -0.2671891711 -0.07178745 0.1073238 0.27703089 [2,] -0.15613622 -0.13231064 0.3758913142 0.03269462 0.1340205 -0.23914252 [3,] -0.03462677 -0.14788872 0.0006469856 0.14131611 -0.2288876 0.26943999 [4,] -0.19208210 0.12270206 0.2221652700 -0.11748281 -0.0221783 -0.01312413 [5,] 1.15790992 0.59605908 0.6824165365 -0.74688330 -0.6953311 -0.94525868 [6,] 0.47201917 -0.04229993 -0.2535663343 -0.10624455 0.1434010 -0.10266031 [7,] 0.19200753 0.07457255 -0.0628134128 0.12148755 -0.1336981 -0.19155615 [8,] -2.75229466 -3.37064405 -3.2817199617 3.42585140 3.1683135 2.80349285 $StdErrors [1] 0.2228270 0.2148846 0.2166230 0.2170938 0.2160667 0.2179643 0.2159614 [8] 0.2165028 0.2159614 0.2159614 0.2924445 0.2192598 0.2159614 0.5565450 $Scale [1] 0.268453 > rcModelPLMd(y,c(1,1,1,2,2,2)) $Estimates [1] 7.9870240 8.9299829 9.9750034 10.9685230 12.0143645 10.0684606 [7] 4.0292730 2.9669826 1.8931845 0.9587165 -0.9429166 -2.5424067 [13] -2.0426365 -2.9820432 -3.8175635 2.4794099 $Weights [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.9753187 1 1.0000000 1 1 0.6273305 [2,] 1.0000000 1 0.5256323 1 1 1.0000000 [3,] 1.0000000 1 1.0000000 1 1 0.6404233 [4,] 0.8129733 1 0.9053568 1 1 1.0000000 [5,] 0.9576437 1 1.0000000 1 1 1.0000000 [6,] 0.6413677 1 1.0000000 1 1 1.0000000 [7,] 1.0000000 1 1.0000000 1 1 1.0000000 [8,] 0.7855293 1 1.0000000 1 1 0.9679682 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.2474246 0.190981218 -0.19484073 -0.100523746 0.104336006 0.38474947 [2,] -0.2220546 -0.055619035 0.45915902 0.014877591 0.141951913 -0.12050468 [3,] -0.1117587 -0.082410720 0.07270109 0.112285477 -0.232169746 0.37686422 [4,] -0.2968473 0.160546828 0.26658614 -0.174146675 -0.053093680 0.06666688 [5,] 0.2520751 -0.167165819 -0.07423227 -0.005126734 0.072173978 -0.06704724 [6,] 0.3763560 0.004646872 -0.20004343 -0.153806381 0.121587611 -0.01376727 [7,] 0.0922903 0.117465286 -0.01334458 0.069871647 -0.159565483 -0.10671718 [8,] 0.3072948 -0.168444631 -0.07294444 0.236568820 0.004779401 -0.24933486 $StdErrors [1] 0.14027351 0.08232558 0.09826286 0.08326684 0.08326684 0.10861611 [7] 0.10830915 0.10154338 0.10001017 0.11006853 0.15576815 0.12865074 [13] 0.09801512 0.09191796 0.15576815 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.044 8.976 as.factor(cp)3 as.factor(cp)4 10.009 10.713 as.factor(cp)5 as.factor(cp)6 11.759 9.846 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 4.152 3.103 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 2.223 1.053 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.641 -1.921 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -2.883 -3.841 C(as.factor(pr), "contr.sum")9 2.721 > > > proc.time() user system elapsed 2.1 0.1 2.2 |
preprocessCore.Rcheck/tests_x64/PLMdtest.Rout R version 4.1.1 (2021-08-10) -- "Kick Things" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > > 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.01086 0.97743 > > > > 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] 50.19352 > sum((resid(lm(values ~ as.factor(group.labels)))/sc)^2)/2 [1] 50.10906 > > > 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.2243 9.2089 as.factor(cp)3 as.factor(cp)4 10.1604 11.2961 as.factor(cp)5 as.factor(cp)6 12.1902 10.2531 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 3.7463 2.7767 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 1.7660 0.8763 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.2596 -2.1831 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -3.2267 -4.2209 > > > 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.311192 9.305374 10.498824 11.204091 12.369473 10.312608 3.632413 [8] 2.904963 1.728920 0.757481 -2.122876 -2.303616 -3.408572 -1.188712 $Weights [,1] [,2] [,3] [,4] [,5] [,6] [1,] 1.00000000 0.58625438 1.00000000 1.00000000 1.00000000 1.00000000 [2,] 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 0.72072956 [3,] 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 [4,] 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 [5,] 0.48310785 0.32615465 1.00000000 1.00000000 1.00000000 0.54977932 [6,] 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 [7,] 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 1.00000000 [8,] 0.09800022 0.09897579 0.08852019 0.09806803 0.08846451 0.09910182 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.28891576 0.53488885 -0.127334453 -0.03183272 0.096392290 0.03810971 [2,] 0.13563585 -0.25200502 0.001388893 -0.04111480 -0.157564780 0.43519772 [3,] -0.13783722 -0.08490915 0.062187777 0.10120401 -0.097749433 0.15710402 [4,] 0.26283265 -0.22370838 -0.001628269 0.24300550 -0.016725316 -0.26377618 [5,] 0.64940121 0.96173448 0.268473468 -0.29595711 -0.286554129 -0.56998730 [6,] 0.08580495 0.04093282 -0.044163604 -0.01204693 0.154911599 -0.22543883 [7,] -0.05768112 0.20600654 0.154650747 -0.27682389 -0.006277002 -0.01987528 [8,] -3.19968846 -3.16816779 -3.542407139 3.19743263 3.544548832 3.16426023 $StdErrors [1] 0.2024505 0.2110725 0.1959855 0.1955550 0.1959880 0.2051402 0.2064975 [8] 0.2046183 0.2009696 0.2009696 0.2281613 0.2009696 0.2009696 0.5652003 $Scale [1] 0.2332608 > rcModelPLMd(y,c(1,1,1,2,2,2)) $Estimates [1] 8.033777 9.077782 10.131082 10.894008 12.098679 9.943655 3.955646 [8] 3.196061 2.032683 1.072590 -1.196114 -2.190433 -1.999853 -3.099341 [15] -4.201217 2.429978 $Weights [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.7263965 0.5536244 1.0000000 1.0000000 1 1.0000000 [2,] 1.0000000 0.7706568 1.0000000 1.0000000 1 0.4739539 [3,] 1.0000000 1.0000000 1.0000000 1.0000000 1 1.0000000 [4,] 1.0000000 0.7812579 1.0000000 1.0000000 1 1.0000000 [5,] 1.0000000 0.9260332 0.8370353 1.0000000 1 1.0000000 [6,] 1.0000000 1.0000000 1.0000000 1.0000000 1 1.0000000 [7,] 1.0000000 1.0000000 1.0000000 0.8811244 1 1.0000000 [8,] 1.0000000 1.0000000 1.0000000 1.0000000 1 1.0000000 $Residuals [,1] [,2] [,3] [,4] [,5] [,6] [1,] -0.3347345994 0.43924701 -0.08282574 -0.044983990 0.04395239 0.08382952 [2,] 0.1219528210 -0.31551106 0.07803342 -0.022130260 -0.17786886 0.51305335 [3,] -0.1641855085 -0.16108045 0.12616705 0.107523292 -0.13071878 0.22229439 [4,] 0.2251379846 -0.31122604 0.05100463 0.237978406 -0.06104103 -0.20993218 [5,] 0.0000540686 0.26256433 -0.29054612 0.081681584 0.05179594 -0.13347752 [6,] 0.0594566613 -0.03523848 0.01981567 -0.005727646 0.12194226 -0.16024846 [7,] -0.0894971362 0.12436752 0.21316229 -0.275972331 -0.04471407 0.03984736 [8,] 0.0902311512 0.07192882 -0.16215997 -0.111175422 0.19665215 -0.08547673 $StdErrors [1] 0.08237763 0.11274155 0.08319095 0.08385630 0.07769703 0.08382821 [7] 0.10263404 0.10090083 0.08424792 0.09081876 0.20134035 0.11837272 [13] 0.08424792 0.09222881 0.12062997 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.003 9.039 as.factor(cp)3 as.factor(cp)4 10.054 10.660 as.factor(cp)5 as.factor(cp)6 11.869 9.748 C(as.factor(pr), "contr.sum")1 C(as.factor(pr), "contr.sum")2 4.107 3.363 C(as.factor(pr), "contr.sum")3 C(as.factor(pr), "contr.sum")4 2.319 1.195 C(as.factor(pr), "contr.sum")5 C(as.factor(pr), "contr.sum")6 -1.564 -1.866 C(as.factor(pr), "contr.sum")7 C(as.factor(pr), "contr.sum")8 -2.971 -4.153 C(as.factor(pr), "contr.sum")9 2.650 > > > proc.time() user system elapsed 2.54 0.03 2.56 |
preprocessCore.Rcheck/tests_i386/qnormtest.Rout R version 4.1.1 (2021-08-10) -- "Kick Things" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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.32 0.03 0.34 |
preprocessCore.Rcheck/tests_x64/qnormtest.Rout R version 4.1.1 (2021-08-10) -- "Kick Things" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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.25 0.09 0.32 |
preprocessCore.Rcheck/examples_i386/preprocessCore-Ex.timings
|
preprocessCore.Rcheck/examples_x64/preprocessCore-Ex.timings
|