* using log directory 'd:/Rcompile/CRANpkg/local/3.4/Rfast.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Rfast/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Rfast' version '1.9.1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Rfast' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.4/Rfast.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'Rfast' ... ** package 'Rfast' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpAfwDXq/R.INSTALL29d5018383ec6/Rfast/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.4.4/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.4/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.4/RcppArmadillo/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -fopenmp -O2 -Wall -mtune=core2 -c Diag.cpp -o Diag.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.4.4/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.4/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.4/RcppArmadillo/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -fopenmp -O2 -Wall -mtune=core2 -c Norm.cpp -o Norm.o In file included from Norm.cpp:4:0: templates.h: In function 'SEXPREC* eachrow_helper(SEXP, SEXP)': templates.h:904:24: error: there are no arguments to 'DATAPTR' that depend on a template parameter, so a declaration of 'DATAPTR' must be available [-fpermissive] T *xx=(T *) DATAPTR(x),*xend=xx+ncol*nrow,*yy=(T *) DATAPTR(y),yvalue,*x3; ^ templates.h:904:24: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) templates.h:904:64: error: there are no arguments to 'DATAPTR' that depend on a template parameter, so a declaration of 'DATAPTR' must be available [-fpermissive] T *xx=(T *) DATAPTR(x),*xend=xx+ncol*nrow,*yy=(T *) DATAPTR(y),yvalue,*x3; ^ templates.h:905:43: error: there are no arguments to 'DATAPTR' that depend on a template parameter, so a declaration of 'DATAPTR' must be available [-fpermissive] RETURN_TYPE *m=(RETURN_TYPE*)DATAPTR(mat); ^ make[1]: *** [Norm.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpAfwDXq/R.INSTALL29d5018383ec6/Rfast/src-i386' Warning: running command 'make -f "Makevars.win" -f "D:/RCompile/recent/R-3.4.4/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.4.4/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.4.4/share/make/winshlib.mk" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="Rfast.dll" OBJECTS="Diag.o Norm.o Rank.o Sort.o Table.o add_to_namespace.o apply_condition.o as_integer.o binarysearch.o bincomb.o calc_qpois_regs.o check.o cholesky.o col_row_utilities.o col_row_utilities_p.o col_statistical.o colrint_mle.o colweibull_mle.o cts.o cts_rf.o design_matrix.o dir_knn.o diri_nr_type2.o dista.o dists.o dists_vec.o each.o eigs_sym_c.o energy.o floyd_john.o frame_to_matrix.o g2_export.o g2_helpers.o g2t.o gamma.o geom_regs.o glm.o group.o hash.o init.o is.o k_nn.o logistic_only.o lower_upper_tri.o maha.o maha_ex.o matrices.o mn.o multinom_regs.o my_k_sorted_array.o normlog_reg.o normlog_regs.o odds_helper.o par [... truncated] ERROR: compilation failed for package 'Rfast' * removing 'd:/Rcompile/CRANpkg/lib/3.4/Rfast' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.4/Rfast' In R CMD INSTALL