>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=pcaMethods.buildbin-libdir pcaMethods_1.50.0.tar.gz'
>>>>>>>
* installing *source* package 'pcaMethods' ...
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c nipals.cpp -o nipals.o
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:130:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
switch (size - i){
˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:190:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( VECSXP, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:209:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:237:48: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP names = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:245:26: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SET_STRING_ELT( names, i, Rf_mkChar(buf.c_str()) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:266:48: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP names = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:274:26: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SET_STRING_ELT( names, i, Rf_mkChar(buf.c_str()) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:311:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( VECSXP, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:312:48: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP names = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:319:22: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SET_VECTOR_ELT( x, i, element ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:320:26: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SET_STRING_ELT( names, i, Rf_mkChar(buf.c_str()) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:343:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:344:48: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP names = PROTECT( Rf_allocVector( STRSXP, size ) ) ;
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:484:44: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( LGLSXP, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:50:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/Language.h:173:76: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
unary_call( Language call_, int index ) : call(call_), proxy(call_,index){}
˜˜˜˜˜ ^˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/Language.h:190:91: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
binary_call( Language call_, int index1, int index2 ) : call(call_), proxy1(call_,index1), proxy2(call_,index2){}
˜˜˜˜˜˜ ^˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/Language.h:190:113: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
binary_call( Language call_, int index1, int index2 ) : call(call_), proxy1(call_,index1), proxy2(call_,index2){}
˜˜˜˜˜˜ ^˜˜˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:60:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/Datetime.h:40:40: warning: implicit conversion changes signedness: 'const unsigned int' to 'int' [-Wsign-conversion]
int getMicroSeconds() const { return m_us; }
˜˜˜˜˜˜ ^˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:70:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/sugar.h:28:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/hash.h:27:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:197:16: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
return RCPP_HASH(value) ;
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:212:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
addr = RCPP_HASH(val_u.u[0] + val_u.u[1]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:221:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
addr = RCPP_HASH((val & 0xffffffff) ^ (val >> 32));
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:70:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/sugar.h:28:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/hash.h:28:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/SelfHash.h:95:16: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
return RCPP_HASH(value) ;
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:70:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/sugar.h:28:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/hash.h:28:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/SelfHash.h:110:14: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
addr = RCPP_HASH(val_u.u[0] + val_u.u[1]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:70:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/sugar.h:28:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/hash.h:28:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/SelfHash.h:119:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
addr = RCPP_HASH((val & 0xffffffff) ^ (val >> 32));
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/hash/IndexHash.h:45:61: note: expanded from macro 'RCPP_HASH'
#define RCPP_HASH(X) (3141592653U * ((unsigned int)(X)) >> (32 - k))
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:70:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/sugar.h:31:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/functions/functions.h:37:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/sugar/functions/seq_along.h:49:24: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
return sugar::SeqLen( n ) ;
˜˜˜˜˜ ^
nipals.cpp:11:14: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
a = vec1[i] - vec2[i];
˜˜˜˜ ^
nipals.cpp:11:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
a = vec1[i] - vec2[i];
˜˜˜˜ ^
nipals.cpp:9:13: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = vec1.size();
˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
nipals.cpp:21:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
siz += vec[i] * vec[i];
˜˜˜ ^
nipals.cpp:21:25: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
siz += vec[i] * vec[i];
˜˜˜ ^
nipals.cpp:25:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vec[i] = vec[i] / siz;
˜˜˜ ^
nipals.cpp:25:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vec[i] = vec[i] / siz;
˜˜˜ ^
nipals.cpp:19:13: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = vec.size();
˜˜˜ ^˜˜˜˜˜˜˜˜˜
nipals.cpp:49:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vector<double> thold(nr);
˜˜˜˜˜ ^˜
nipals.cpp:50:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vector<double> th(nr);
˜˜ ^˜
nipals.cpp:51:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vector<double> phold(nc);
˜˜˜˜˜ ^˜
nipals.cpp:52:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
vector<double> ph(nc);
˜˜ ^˜
nipals.cpp:59:16: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:59:18: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:60:15: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tss += mat(r,c) * mat(r,c);
˜˜˜ ^
nipals.cpp:60:17: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tss += mat(r,c) * mat(r,c);
˜˜˜ ^
nipals.cpp:60:26: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tss += mat(r,c) * mat(r,c);
˜˜˜ ^
nipals.cpp:60:28: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tss += mat(r,c) * mat(r,c);
˜˜˜ ^
nipals.cpp:65:11: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wconversion]
while(anotherPc) {
˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
nipals.cpp:67:5: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
th[r] = 0;
˜˜ ^
nipals.cpp:68:16: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,0))) {
˜˜˜ ^
nipals.cpp:69:7: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
th[r] = mat(r,0);
˜˜ ^
nipals.cpp:69:16: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
th[r] = mat(r,0);
˜˜˜ ^
nipals.cpp:78:7: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
ph[c] = 0;
˜˜ ^
nipals.cpp:82:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
tsize += th[r] * th[r];
˜˜ ^
nipals.cpp:82:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
tsize += th[r] * th[r];
˜˜ ^
nipals.cpp:85:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
double ti = th[r] / tsize;
˜˜ ^
nipals.cpp:87:20: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:87:22: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:88:11: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
ph[c] += mat(r,c) * ti;
˜˜ ^
nipals.cpp:88:21: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ph[c] += mat(r,c) * ti;
˜˜˜ ^
nipals.cpp:88:23: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ph[c] += mat(r,c) * ti;
˜˜˜ ^
nipals.cpp:96:7: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
th[r] = 0;
˜˜ ^
nipals.cpp:98:20: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:98:22: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:99:11: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
th[r] += mat(r,c) * ph[c];
˜˜ ^
nipals.cpp:99:21: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
th[r] += mat(r,c) * ph[c];
˜˜˜ ^
nipals.cpp:99:23: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
th[r] += mat(r,c) * ph[c];
˜˜˜ ^
nipals.cpp:99:31: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
th[r] += mat(r,c) * ph[c];
˜˜ ^
nipals.cpp:117:18: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:117:20: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
if(!isnan(mat(r,c))) {
˜˜˜ ^
nipals.cpp:118:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
mathat = th[r] * ph[c];
˜˜ ^
nipals.cpp:118:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
mathat = th[r] * ph[c];
˜˜ ^
nipals.cpp:119:14: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
est_mat(r, c) += mathat;
˜˜˜˜˜˜˜ ^
nipals.cpp:119:17: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
est_mat(r, c) += mathat;
˜˜˜˜˜˜˜ ^
nipals.cpp:120:17: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
err = omat(r,c) - est_mat(r, c);
˜˜˜˜ ^
nipals.cpp:120:19: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
err = omat(r,c) - est_mat(r, c);
˜˜˜˜ ^
nipals.cpp:120:32: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
err = omat(r,c) - est_mat(r, c);
˜˜˜˜˜˜˜ ^
nipals.cpp:120:35: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
err = omat(r,c) - est_mat(r, c);
˜˜˜˜˜˜˜ ^
nipals.cpp:122:10: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
mat(r,c) -= mathat;
˜˜˜ ^
nipals.cpp:122:12: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
mat(r,c) -= mathat;
˜˜˜ ^
nipals.cpp:129:5: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tt(r,np) = th[r];
˜˜ ^
nipals.cpp:129:7: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
tt(r,np) = th[r];
˜˜ ^˜
nipals.cpp:129:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
tt(r,np) = th[r];
˜˜ ^
nipals.cpp:132:5: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
pp(c,np) = ph[c];
˜˜ ^
nipals.cpp:132:7: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
pp(c,np) = ph[c];
˜˜ ^˜
nipals.cpp:132:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
pp(c,np) = ph[c];
˜˜ ^
nipals.cpp:135:11: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
if(r2cum[np] >= varLimit) {
˜˜˜˜˜ ^˜
nipals.cpp:150:8: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ttt(r,p) = tt(r,p);
˜˜˜ ^
nipals.cpp:150:10: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ttt(r,p) = tt(r,p);
˜˜˜ ^
nipals.cpp:150:18: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ttt(r,p) = tt(r,p);
˜˜ ^
nipals.cpp:150:20: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ttt(r,p) = tt(r,p);
˜˜ ^
nipals.cpp:155:8: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ppp(c,p) = pp(c,p);
˜˜˜ ^
nipals.cpp:155:10: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ppp(c,p) = pp(c,p);
˜˜˜ ^
nipals.cpp:155:18: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ppp(c,p) = pp(c,p);
˜˜ ^
nipals.cpp:155:20: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
ppp(c,p) = pp(c,p);
˜˜ ^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:104:16: warning: implicit conversion changes signedness: 'typename iterator_traits<__normal_iterator<const Date *, vector<Date, allocator<Date> > > >::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t size = std::distance( first, last ) ;
˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:178:9: note: in instantiation of function template specialization 'Rcpp::internal::primitive_range_wrap__impl<__gnu_cxx::__normal_iterator<const Rcpp::Date *, std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >, Rcpp::Date>' requested here
return primitive_range_wrap__impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_sexptype_needscast<T>() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:364:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch___impl<__gnu_cxx::__normal_iterator<const Rcpp::Date *, std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >, Rcpp::Date>' requested here
return range_wrap_dispatch___impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_type_traits<T>::r_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:374:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch<__gnu_cxx::__normal_iterator<const Rcpp::Date *, std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >, Rcpp::Date>' requested here
return range_wrap_dispatch<InputIterator,typename traits::remove_reference<typename std::iterator_traits<InputIterator>::value_type>::type >( first, last ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:493:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap<__gnu_cxx::__normal_iterator<const Rcpp::Date *, std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > > >' requested here
return range_wrap( object.begin(), object.end() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:501:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_range_sugar_expression<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
return wrap_range_sugar_expression( object, typename Rcpp::traits::is_sugar_expression<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:508:9: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return wrap_dispatch_unknown_iterable__logical( object,
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:723:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
return wrap_dispatch_unknown( object, typename ::Rcpp::traits::is_convertible<T,SEXP>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:740:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
return wrap_dispatch_eigen( object, typename traits::is_eigen_base<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:760:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
return wrap_dispatch_unknown_importable( object, typename ::Rcpp::traits::is_importer<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:863:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits<T>::wrap_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/DateVector.h:54:47: note: in instantiation of function template specialization 'Rcpp::wrap<std::vector<Rcpp::Date, std::allocator<Rcpp::Date> > >' requested here
inline operator SEXP() const { return wrap( v ) ; }
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:106:43: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( RTYPE, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:104:16: warning: implicit conversion changes signedness: 'typename iterator_traits<__normal_iterator<const Datetime *, vector<Datetime, allocator<Datetime> > > >::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t size = std::distance( first, last ) ;
˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:178:9: note: in instantiation of function template specialization 'Rcpp::internal::primitive_range_wrap__impl<__gnu_cxx::__normal_iterator<const Rcpp::Datetime *, std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >, Rcpp::Datetime>' requested here
return primitive_range_wrap__impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_sexptype_needscast<T>() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:364:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch___impl<__gnu_cxx::__normal_iterator<const Rcpp::Datetime *, std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >, Rcpp::Datetime>' requested here
return range_wrap_dispatch___impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_type_traits<T>::r_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:374:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch<__gnu_cxx::__normal_iterator<const Rcpp::Datetime *, std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >, Rcpp::Datetime>' requested here
return range_wrap_dispatch<InputIterator,typename traits::remove_reference<typename std::iterator_traits<InputIterator>::value_type>::type >( first, last ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:493:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap<__gnu_cxx::__normal_iterator<const Rcpp::Datetime *, std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > > >' requested here
return range_wrap( object.begin(), object.end() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:501:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_range_sugar_expression<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
return wrap_range_sugar_expression( object, typename Rcpp::traits::is_sugar_expression<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:508:9: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return wrap_dispatch_unknown_iterable__logical( object,
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:723:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
return wrap_dispatch_unknown( object, typename ::Rcpp::traits::is_convertible<T,SEXP>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:740:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
return wrap_dispatch_eigen( object, typename traits::is_eigen_base<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:760:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
return wrap_dispatch_unknown_importable( object, typename ::Rcpp::traits::is_importer<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:863:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits<T>::wrap_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/DatetimeVector.h:54:47: note: in instantiation of function template specialization 'Rcpp::wrap<std::vector<Rcpp::Datetime, std::allocator<Rcpp::Datetime> > >' requested here
inline operator SEXP() const { return wrap( v ) ; }
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:106:43: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( RTYPE, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:81:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/meat.h:29:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/Matrix.h:38:28: warning: implicit conversion changes signedness: 'const int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
VECTOR( Dimension( nrows_, ncols ) ),
˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜
nipals.cpp:45:25: note: in instantiation of member function 'Rcpp::Matrix<14>::Matrix' requested here
Rcpp::NumericMatrix est_mat(nr, nc);
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:81:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/meat.h:29:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/Matrix.h:38:36: warning: implicit conversion changes signedness: 'const int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
VECTOR( Dimension( nrows_, ncols ) ),
˜˜˜˜˜˜˜˜˜ ^˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/Matrix.h:98:75: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
return static_cast< Vector<RTYPE>* >( this )->operator[]( offset( i, j ) ) ;
˜˜˜˜˜˜ ^
nipals.cpp:59:15: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here
if(!isnan(mat(r,c))) {
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:81:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/meat.h:29:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/api/meat/Matrix.h:98:78: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
return static_cast< Vector<RTYPE>* >( this )->operator[]( offset( i, j ) ) ;
˜˜˜˜˜˜ ^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:116:16: warning: implicit conversion changes signedness: 'typename iterator_traits<__normal_iterator<const double *, vector<double, allocator<double> > > >::difference_type' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t size = std::distance( first, last ) ;
˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:166:9: note: in instantiation of function template specialization 'Rcpp::internal::primitive_range_wrap__impl__nocast<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double> > >, double>' requested here
return primitive_range_wrap__impl__nocast<InputIterator,T>( first, last, typename std::iterator_traits<InputIterator>::iterator_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:178:9: note: in instantiation of function template specialization 'Rcpp::internal::primitive_range_wrap__impl<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double> > >, double>' requested here
return primitive_range_wrap__impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_sexptype_needscast<T>() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:364:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch___impl<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double> > >, double>' requested here
return range_wrap_dispatch___impl<InputIterator,T>( first, last, typename ::Rcpp::traits::r_type_traits<T>::r_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:374:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap_dispatch<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double> > >, double>' requested here
return range_wrap_dispatch<InputIterator,typename traits::remove_reference<typename std::iterator_traits<InputIterator>::value_type>::type >( first, last ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:493:9: note: in instantiation of function template specialization 'Rcpp::internal::range_wrap<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double> > > >' requested here
return range_wrap( object.begin(), object.end() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:501:9: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return wrap_range_sugar_expression( object, typename Rcpp::traits::is_sugar_expression<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:740:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen<std::vector<double, std::allocator<double> > >' requested here
return wrap_dispatch_eigen( object, typename traits::is_eigen_base<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:760:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable<std::vector<double, std::allocator<double> > >' requested here
return wrap_dispatch_unknown_importable( object, typename ::Rcpp::traits::is_importer<T>::type() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:863:9: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch<std::vector<double, std::allocator<double> > >' requested here
return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits<T>::wrap_category() ) ;
^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/vector/proxy.h:155:9: note: in instantiation of function template specialization 'Rcpp::wrap<std::vector<double, std::allocator<double> > >' requested here
set( ::Rcpp::wrap(rhs) ) ;
^
nipals.cpp:164:17: note: in instantiation of function template specialization 'Rcpp::internal::generic_name_proxy<19>::operator=<std::vector<double, std::allocator<double> > >' requested here
rl["R2cum"] = r2cum;
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:118:43: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'R_xlen_t' (aka 'long') [-Wsign-conversion]
SEXP x = PROTECT( Rf_allocVector( RTYPE, size ) );
˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
In file included from nipals.cpp:2:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/RcppCommon.h:117:
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:130:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
switch (size - i){
˜ ^
/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/internal/wrap.h:121:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int __trip_count = size >> 2 ;
˜˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜^˜˜˜
103 warnings generated.
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o pcaMethods.so nipals.o /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/lib/libRcpp.a -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-2.12-bioc/meat/pcaMethods.buildbin-libdir/pcaMethods/libs
** R
** data
** inst
** preparing package for lazy loading
Creating a new generic function for 'loadings' in package 'pcaMethods'
Creating a generic function for 'print' from package 'base' in package 'pcaMethods'
Creating a generic function for 'biplot' from package 'stats' in package 'pcaMethods'
Creating a generic function for 'summary' from package 'base' in package 'pcaMethods'
Creating a generic function for 'predict' from package 'stats' in package 'pcaMethods'
Creating a generic function for 'resid' from package 'stats' in package 'pcaMethods'
Creating a generic function for 'fitted' from package 'stats' in package 'pcaMethods'
Creating a generic function for 'plot' from package 'graphics' in package 'pcaMethods'
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (pcaMethods)
>>>>>>>
>>>>>>> FIXING LINKS FOR pcaMethods.buildbin-libdir/pcaMethods/libs//pcaMethods.so
>>>>>>>
install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgcc_s.1.dylib" "pcaMethods.buildbin-libdir/pcaMethods/libs//pcaMethods.so"
install_name_tool -change "/usr/local/lib/libgfortran.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgfortran.2.dylib" "pcaMethods.buildbin-libdir/pcaMethods/libs//pcaMethods.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.5.2.dylib" "pcaMethods.buildbin-libdir/pcaMethods/libs//pcaMethods.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.dylib" "pcaMethods.buildbin-libdir/pcaMethods/libs//pcaMethods.so"