haziqj / iprior

An R package for I-prior regression
GNU General Public License v3.0
1 stars 1 forks source link

Installation error on `r-oldrel-windows-ix86+x86_64` #26

Closed haziqj closed 8 years ago

haziqj commented 8 years ago

On CRAN submission,

* installing *source* package 'iprior' ...
** package 'iprior' successfully unpacked and MD5 sums checked
** libs

*** arch - i386
make[1]: Entering directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-i386'
g++  -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++  -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c eigenCpp.cpp -o eigenCpp.o
g++  -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c fastSquare.cpp -o fastSquare.o
g++  -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c fastVDiag.cpp -o fastVDiag.o
g++ -shared -s -static-libgcc -o iprior.dll tmp.def RcppExports.o eigenCpp.o fastSquare.o fastVDiag.o -Ld:/RCompile/r-compiling/local/local323/lib/i386 -Ld:/RCompile/r-compiling/local/local323/lib -LD:/RCompile/recent/R-3.2.5/bin/i386 -lR
make[1]: Leaving directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-i386'
make[1]: Entering directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-i386'
make[1]: Leaving directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-i386'
installing to d:/Rcompile/CRANpkg/lib/3.2/iprior/libs/i386

*** arch - x64
make[1]: Entering directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-x64'
g++ -m64 -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++ -m64 -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c eigenCpp.cpp -o eigenCpp.o
g++ -m64 -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c fastSquare.cpp -o fastSquare.o
g++ -m64 -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG    -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/RcppEigen/include" -I"d:/RCompile/r-compiling/local/local323/include"     -O2 -Wall  -mtune=core2 -c fastVDiag.cpp -o fastVDiag.o
g++ -m64 -shared -s -static-libgcc -o iprior.dll tmp.def RcppExports.o eigenCpp.o fastSquare.o fastVDiag.o -Ld:/RCompile/r-compiling/local/local323/lib/x64 -Ld:/RCompile/r-compiling/local/local323/lib -LD:/RCompile/recent/R-3.2.5/bin/x64 -lR
make[1]: Leaving directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-x64'
make[1]: Entering directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-x64'
make[1]: Leaving directory `/cygdrive/d/temp/RtmpSQBrwH/R.INSTALLb8fc55c44dd9/iprior/src-x64'
installing to d:/Rcompile/CRANpkg/lib/3.2/iprior/libs/x64
** R
** data
** inst
** preparing package for lazy loading
Error : object 'sigma' is not exported by 'namespace:stats'
ERROR: lazy loading failed for package 'iprior'
* removing 'd:/Rcompile/CRANpkg/lib/3.2/iprior'
haziqj commented 8 years ago

After investigating this, I've found that the S3 method sigma() was only released in the stats package with R version 3.3.0. From the release notes:

Prior to R v3.3.0, sigma() was an S3 method in lme4.