* installing *source* package ‘glmBfp’ ... ** package ‘glmBfp’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for clang option to support OpenMP... unsupported configure: WARNING: NO OpenMP support detected. You should should use gcc >= 4.2 configure: creating ./config.status config.status: creating src/Makevars ** libs clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c bfgs.cpp -o bfgs.o In file included from bfgs.cpp:8: In file included from ./bfgs.h:11: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from bfgs.cpp:8: In file included from ./bfgs.h:11: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from bfgs.cpp:8: In file included from ./bfgs.h:11: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from bfgs.cpp:8: In file included from ./bfgs.h:11: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from bfgs.cpp:8: In file included from ./bfgs.h:11: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ 9 errors generated. make[1]: *** [bfgs.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c combinatorics.cpp -o combinatorics.o In file included from combinatorics.cpp:7: ./combinatorics.h:6:32: error: unknown type name 'IntVector' void ksub_next ( int n, int k, IntVector& a, bool *more, int &m, int &m2); ^ ./combinatorics.h:7:32: error: unknown type name 'IntVector' void comp_next ( int n, int k, IntVector& a, bool *more, int &h, int &t ); ^ combinatorics.cpp:16:32: error: unknown type name 'IntVector' void ksub_next ( int n, int k, IntVector& a, bool *more, int &m, int &m2) ^ combinatorics.cpp:96:32: error: unknown type name 'IntVector' void comp_next ( int n, int k, IntVector& a, bool *more, int &h, int &t) ^ 4 errors generated. make[1]: *** [combinatorics.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c coxfit.cpp -o coxfit.o In file included from coxfit.cpp:16: ./coxfit.h:103:5: error: unknown type name 'AVector' AVector coefs; ^ ./coxfit.h:106:5: error: unknown type name 'AMatrix' AMatrix imat; ^ ./coxfit.h:109:5: error: unknown type name 'AVector' AVector u; ^ ./coxfit.h:113:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector loglik; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from coxfit.cpp:16: ./coxfit.h:129:18: error: unknown type name 'AVector' Coxfit(const AVector& survTimes, ^ ./coxfit.h:130:18: error: unknown type name 'IntVector' const IntVector& censInd, ^ ./coxfit.h:131:18: error: unknown type name 'AMatrix' const AMatrix& X, ^ ./coxfit.h:132:18: error: unknown type name 'AVector' const AVector& weights, ^ ./coxfit.h:133:18: error: unknown type name 'AVector' const AVector& offsets, ^ ./coxfit.h:176:5: error: unknown type name 'AVector' AVector survTimes; ^ ./coxfit.h:177:5: error: unknown type name 'IntVector' IntVector censInd; ^ ./coxfit.h:178:5: error: unknown type name 'AMatrix' AMatrix X; ^ ./coxfit.h:179:5: error: unknown type name 'AVector' AVector weights; ^ ./coxfit.h:180:5: error: unknown type name 'AVector' AVector offsets; ^ ./coxfit.h:186:5: error: unknown type name 'IntVector' IntVector strata; ^ coxfit.cpp:188:50: error: unknown type name 'AVector' void chsolve2(const DoubleMatrix& matrix, int n, AVector& y) ^ coxfit.cpp:251:5: error: use of undeclared identifier 'AVector'; did you mean 'Vector'? AVector infs = results.imat * results.u; ^~~~~~~ Vector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Vector.h:29:7: note: 'Vector' declared here class Vector : ^ coxfit.cpp:251:5: error: unknown type name 'AVector' AVector infs = results.imat * results.u; ^ coxfit.cpp:261:13: error: unknown type name 'IntVector' IntVector notConverged; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [coxfit.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c dataStructure.cpp -o dataStructure.o clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c design.cpp -o design.o In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from dataStructure.cpp:7: In file included from ./dataStructure.h:14: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [dataStructure.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c distributions.cpp -o distributions.o In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from design.cpp:8: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [design.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c evalZdensity.cpp -o evalZdensity.o clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c fpUcHandling.cpp -o fpUcHandling.o In file included from distributions.cpp:12: ./distributions.h:29:24: error: unknown type name 'AVector' Distribution(const AVector& responses, ^ ./distributions.h:30:24: error: unknown type name 'AVector' const AVector& weights) : ^ ./distributions.h:50:11: error: unknown type name 'AVector' const AVector responses; ^ ./distributions.h:53:11: error: unknown type name 'AVector' const AVector weights; ^ ./distributions.h:63:20: error: unknown type name 'AVector' Binomial(const AVector& responses, ^ ./distributions.h:64:20: error: unknown type name 'AVector' const AVector& weights) : ^ ./distributions.h:89:20: error: unknown type name 'AVector' Gaussian(const AVector& responses, ^ ./distributions.h:90:20: error: unknown type name 'AVector' const AVector& weights, ^ ./distributions.h:121:19: error: unknown type name 'AVector' Poisson(const AVector& responses, ^ ./distributions.h:122:19: error: unknown type name 'AVector' const AVector& weights) : ^ distributions.cpp:37:9: error: unknown type name 'PosInt' for(PosInt i = 0; i < responses.n_elem; ++i, ++means) ^ distributions.cpp:55:9: error: unknown type name 'PosInt' for(PosInt i = 0; i < responses.n_elem; ++i, ++means) ^ distributions.cpp:73:9: error: unknown type name 'PosInt' for(PosInt i = 0; i < responses.n_elem; ++i, ++means) ^ clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c functionWraps.cpp -o functionWraps.o 13 errors generated. make[1]: *** [distributions.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c glmBayesMfp.cpp -o glmBayesMfp.o In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from evalZdensity.cpp:10: In file included from ./dataStructure.h:14: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ In file included from fpUcHandling.cpp:10: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from fpUcHandling.cpp:10: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ 20 errors generated. make[1]: *** [evalZdensity.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c gpriors.cpp -o gpriors.o ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from fpUcHandling.cpp:10: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ ./fpUcHandling.h:42:5: error: unknown type name 'PosIntVector' PosIntVector fppos; ^ ./fpUcHandling.h:43:5: error: unknown type name 'PosIntVector' PosIntVector fpmaxs; ^ ./fpUcHandling.h:44:5: error: unknown type name 'StrVector' StrVector fpnames; ^ ./fpUcHandling.h:45:5: error: unknown type name 'AVectorArray' AVectorArray tcols; ^ ./fpUcHandling.h:46:5: error: unknown type name 'PosInt' PosInt maxFpDim; ^ ./fpUcHandling.h:49:5: error: unknown type name 'IntVector' IntVector numberPossibleFps; ^ ./fpUcHandling.h:52:5: error: unknown type name 'Powers' Powers linearPowers; ^ ./fpUcHandling.h:56:18: error: unknown type name 'PosIntVector' FpInfo(const PosIntVector& fpcards, ^ ./fpUcHandling.h:57:18: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [fpUcHandling.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c iwls.cpp -o iwls.o In file included from functionWraps.cpp:8: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from functionWraps.cpp:8: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from functionWraps.cpp:8: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from functionWraps.cpp:8: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from functionWraps.cpp:8: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ In file included from glmBayesMfp.cpp:2: ./combinatorics.h:6:32: error: unknown type name 'IntVector' void ksub_next ( int n, int k, IntVector& a, bool *more, int &m, int &m2); ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./combinatorics.h:7:32: error: unknown type name 'IntVector' void comp_next ( int n, int k, IntVector& a, bool *more, int &h, int &t ); ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ functionWraps.cpp:177:10: error: no member named 'clear' in 'Rcpp::Vector<14, PreserveStorage>' args.clear(); ~~~~ ^ functionWraps.cpp:178:10: error: no member named 'clear' in 'Rcpp::Vector<14, PreserveStorage>' vals.clear(); ~~~~ ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ functionWraps.cpp:186:5: error: use of undeclared identifier 'MyDoubleVector'; did you mean 'DoubleVector'? MyDoubleVector::const_iterator iterVals = vals.begin(); ^~~~~~~~~~~~~~ DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'DoubleVector' declared here typedef Vector DoubleVector ; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ functionWraps.cpp:187:9: error: use of undeclared identifier 'MyDoubleVector'; did you mean 'DoubleVector'? for(MyDoubleVector::const_iterator ^~~~~~~~~~~~~~ DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ functionWraps.cpp:205:17: error: unknown type name 'MyDoubleVector'; did you mean 'DoubleVector'? args(as(rcpp_list["args"])), ^~~~~~~~~~~~~~ DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ functionWraps.cpp:206:17: error: unknown type name 'MyDoubleVector'; did you mean 'DoubleVector'? vals(as(rcpp_list["vals"])) ^~~~~~~~~~~~~~ DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from glmBayesMfp.cpp:3: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [glmBayesMfp.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c linalgInterface.cpp -o linalgInterface.o In file included from linalgInterface.cpp:13: ./linalgInterface.h:20:11: error: unknown type name 'AMatrix' const AMatrix& L, ^ ./linalgInterface.h:21:5: error: unknown type name 'AMatrix' AMatrix& R); ^ ./linalgInterface.h:29:7: error: unknown type name 'AMatrix' AMatrix& A); ^ ./linalgInterface.h:37:13: error: unknown type name 'AMatrix' const AMatrix& L, ^ ./linalgInterface.h:38:7: error: unknown type name 'AMatrix' AMatrix& R); ^ ./linalgInterface.h:49:12: error: unknown type name 'AMatrix' const AMatrix& A, ^ ./linalgInterface.h:51:6: error: unknown type name 'AMatrix' AMatrix& C); ^ ./linalgInterface.h:60:12: error: unknown type name 'AMatrix' const AMatrix& A, ^ ./linalgInterface.h:61:6: error: unknown type name 'AVector' AVector& x); ^ linalgInterface.cpp:34:13: error: unknown type name 'AMatrix' const AMatrix& L, ^ linalgInterface.cpp:35:7: error: unknown type name 'AMatrix' AMatrix& R) ^ linalgInterface.cpp:65:9: error: unknown type name 'AMatrix' AMatrix& A) ^ linalgInterface.cpp:87:15: error: unknown type name 'AMatrix' const AMatrix& L, ^ linalgInterface.cpp:88:9: error: unknown type name 'AMatrix' AMatrix& R) ^ linalgInterface.cpp:117:14: error: unknown type name 'AMatrix' const AMatrix& A, ^ linalgInterface.cpp:119:8: error: unknown type name 'AMatrix' AMatrix& C) ^ linalgInterface.cpp:147:14: error: unknown type name 'AMatrix' const AMatrix& A, ^ linalgInterface.cpp:148:8: error: unknown type name 'AVector' AVector& x) ^ 18 errors generated. make[1]: *** [linalgInterface.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c optimize.cpp -o optimize.o 15 errors generated. make[1]: *** [functionWraps.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c predBMA.cpp -o predBMA.o In file included from optimize.cpp:8: ./optimize.h:68:33: error: use of undeclared identifier 'EPS' double precision=sqrt(EPS)) : // EPS is the square root of the machine precision ^ ./optimize.h:73:17: error: use of undeclared identifier 'R_finite'; did you mean 'isfinite'? if (R_finite(lowerBound) == FALSE || R_finite(upperBound) == FALSE) ^~~~~~~~ isfinite /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h:441:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ In file included from optimize.cpp:8: ./optimize.h:73:50: error: use of undeclared identifier 'R_finite'; did you mean 'isfinite'? if (R_finite(lowerBound) == FALSE || R_finite(upperBound) == FALSE) ^~~~~~~~ isfinite /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h:441:1: note: 'isfinite' declared here isfinite(_A1 __lcpp_x) _NOEXCEPT ^ In file included from optimize.cpp:8: ./optimize.h:74:17: error: use of undeclared identifier 'Rf_error' Rf_error("Brent: bounds must be finite"); ^ ./optimize.h:77:17: error: use of undeclared identifier 'Rf_error' Rf_error("Brent: lowerBound not smaller than upperBound"); ^ ./optimize.h:80:17: error: use of undeclared identifier 'Rf_error' Rf_error("Brent: precision not positive"); ^ ./optimize.h:112:15: error: use of undeclared identifier 'DOUBLE_EPS' eps = DOUBLE_EPS; ^ clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c sampleGlm.cpp -o sampleGlm.o In file included from gpriors.cpp:9: In file included from ./gpriors.h:15: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from gpriors.cpp:9: In file included from ./gpriors.h:15: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from gpriors.cpp:9: In file included from ./gpriors.h:15: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from gpriors.cpp:9: In file included from ./gpriors.h:15: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from gpriors.cpp:9: In file included from ./gpriors.h:15: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from iwls.cpp:4: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [iwls.o] Error 1 clang++ -std=gnu++11 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppArmadillo/include' -I/opt/R/arm64/include -I. -fPIC -g -O2 -c zdensity.cpp -o zdensity.o 9 errors generated. make[1]: *** [gpriors.o] Error 1 In file included from optimize.cpp:10: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from optimize.cpp:10: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from optimize.cpp:10: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from optimize.cpp:10: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from optimize.cpp:10: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from optimize.cpp:10: ./functionWraps.h:300:42: error: use of undeclared identifier 'MyDoubleVector' std::vector a (ntab, MyDoubleVector (ntab, 0)); ^ ./functionWraps.h:388:24: note: in instantiation of member function 'AccurateNumericDerivative > >::operator()' requested here double ret = 1.0 / secondDerivative(x); ^ optimize.cpp:50:35: note: in instantiation of member function 'AccurateNumericInvHessian >::operator()' requested here double invHessMin = funInvHess(xMin); ^ 17 errors generated. make[1]: *** [optimize.o] Error 1 In file included from sampleGlm.cpp:11: ./combinatorics.h:6:32: error: unknown type name 'IntVector' void ksub_next ( int n, int k, IntVector& a, bool *more, int &m, int &m2); ^ ./combinatorics.h:7:32: error: unknown type name 'IntVector' void comp_next ( int n, int k, IntVector& a, bool *more, int &h, int &t ); ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from sampleGlm.cpp:12: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [sampleGlm.o] Error 1 In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:61:5: error: unknown type name 'PosInt' PosInt argsize; ^ ./functionWraps.h:75:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:82:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:107:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector args; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:108:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector vals; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:13: ./functionWraps.h:215:40: error: use of undeclared identifier 'EPS' double eps = EPS) : ^ ./functionWraps.h:280:39: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:280:49: error: use of undeclared identifier 'EPS' double delta = (fabs(x) == 0.0) ? EPS : x * EPS; ^ ./functionWraps.h:300:17: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? std::vector a (ntab, MyDoubleVector (ntab, 0)); ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:19:1: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:20:22: error: unknown type name 'PosIntVector' getMaxPowerSet(const PosIntVector& fpmaxs); ^ ./fpUcHandling.h:27:1: error: unknown type name 'AVectorArray' AVectorArray ^ ./fpUcHandling.h:28:26: error: unknown type name 'PosIntVector' getTransformedCols(const PosIntVector& fpcards, ^ ./fpUcHandling.h:29:26: error: unknown type name 'PosIntVector' const PosIntVector& fppos, ^ ./fpUcHandling.h:30:26: error: unknown type name 'PosIntVector' const PosIntVector& fpmaxs, ^ ./fpUcHandling.h:31:26: error: unknown type name 'AMatrix' const AMatrix& x); ^ ./fpUcHandling.h:39:5: error: unknown type name 'PosInt' PosInt nFps; ^ ./fpUcHandling.h:40:5: error: unknown type name 'MyDoubleVector'; did you mean 'Rcpp::DoubleVector'? MyDoubleVector powerset; ^~~~~~~~~~~~~~ Rcpp::DoubleVector /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/instantiation.h:31:29: note: 'Rcpp::DoubleVector' declared here typedef Vector DoubleVector ; ^ In file included from zdensity.cpp:1: In file included from ./zdensity.h:11: In file included from ./iwls.h:11: In file included from ./design.h:11: In file included from ./dataStructure.h:14: ./fpUcHandling.h:41:5: error: unknown type name 'PosIntVector' PosIntVector fpcards; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [zdensity.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘glmBfp’ * removing ‘/Users/ripley/R/packages/tests-devel/glmBfp.Rcheck/glmBfp’