Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
haziqj opened this issue Aug 20, 2016 · 1 comment
Closed

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

haziqj opened this issue Aug 20, 2016 · 1 comment

Comments

@haziqj
Copy link
Owner

haziqj commented Aug 20, 2016

On CRAN submission,

  • using R version 3.2.5 (2016-04-14)
  • using platform: x86_64-w64-mingw32 (64-bit)
* 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
Copy link
Owner Author

haziqj commented Aug 20, 2016

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:

  • New S3 generic function sigma() with methods for extracting the estimated standard deviation aka “residual standard deviation” from a fitted model.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant