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 issue on Windows 8.1 #37

Closed
Deleetdk opened this issue Feb 10, 2017 · 9 comments
Closed

Installation issue on Windows 8.1 #37

Deleetdk opened this issue Feb 10, 2017 · 9 comments

Comments

@Deleetdk
Copy link

By request, I open a new issue for this error. I am unable to install ggraph.

> devtools::install_github('thomasp85/ggraph')
Downloading GitHub repo thomasp85/ggraph@master
from URL https://api.github.com/repos/thomasp85/ggraph/zipball/master
Installing ggraph
"C:/PROGRA~1/R/R-3.3.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Emil/AppData/Local/Temp/Rtmp6ZxnXj/devtools20784fd71113/thomasp85-ggraph-777a81d"  \
  --library="C:/Users/Emil/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'ggraph' ...
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c circlePack.cpp -o circlePack.o
circlePack.cpp: In function 'std::vector<NodePack*> createHierarchy(std::vector<int>, std::vector<double>)':
circlePack.cpp:378:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp:382:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp: In function 'int findTopNode(std::vector<NodePack*>&)':
circlePack.cpp:392:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
circlePack.cpp: In function 'Rcpp::NumericMatrix pack(Rcpp::NumericVector)':
circlePack.cpp:444:73: warning: narrowing conversion of '(circles.std::deque<_Tp, _Alloc>::size<Circle, std::allocator<Circle> >() + 1u)' from 'std::deque<Circle>::size_type {aka unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
         Circle c = {0, 0, std::sqrt(float(*itr / M_PI)), circles.size() + 1};
                                                                         ^
circlePack.cpp: In function 'Rcpp::NumericMatrix circlePackLayout(Rcpp::IntegerVector, Rcpp::NumericVector)':
circlePack.cpp:476:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c iciclePlot.cpp -o iciclePlot.o
In file included from iciclePlot.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
iciclePlot.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>, std::vector<double>)':
iciclePlot.cpp:8:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp: In function 'void icicleLayout(Node*, double, double)':
iciclePlot.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); i++) {
                           ^
iciclePlot.cpp: In function 'Rcpp::NumericMatrix partitionTree(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::NumericVector)':
iciclePlot.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
iciclePlot.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c lineCutter.cpp -o lineCutter.o
lineCutter.cpp: In function 'Point ellipsis_intersection(Point, Point, double, double)':
lineCutter.cpp:90:9: error: 'copysign' is not a member of 'std'
     x = std::copysign(x, pX);
         ^
lineCutter.cpp:90:9: note: suggested alternative:
In file included from C:/Rtools/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/platform/compiler.h:100,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/r/headers.h:48,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/RcppCommon.h:29,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp.h:27,
                 from lineCutter.cpp:1:
C:/Rtools/mingw_32/i686-w64-mingw32/include/math.h:913:31: note:   'copysign'
   __CRT_INLINE double __cdecl copysign (double x, double y)
                               ^
lineCutter.cpp:91:9: error: 'copysign' is not a member of 'std'
     y = std::copysign(y, pY);
         ^
lineCutter.cpp:91:9: note: suggested alternative:
In file included from C:/Rtools/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/platform/compiler.h:100,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/r/headers.h:48,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/RcppCommon.h:29,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp.h:27,
                 from lineCutter.cpp:1:
C:/Rtools/mingw_32/i686-w64-mingw32/include/math.h:913:31: note:   'copysign'
   __CRT_INLINE double __cdecl copysign (double x, double y)
                               ^
make: *** [lineCutter.o] Error 1
Warning: running command 'make -f "C:/PROGRA~1/R/R-3.3.2/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-3.3.2/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="ggraph.dll" OBJECTS="RcppExports.o circlePack.o iciclePlot.o lineCutter.o pathAttr.o treemap.o"' had status 2
ERROR: compilation failed for package 'ggraph'
* removing 'C:/Users/Emil/Documents/R/win-library/3.3/ggraph'
Error: Command failed (1)

Sessioninfo

> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252    LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C                   
[5] LC_TIME=Danish_Denmark.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] httr_1.2.1      R6_2.2.0        tools_3.3.2     withr_1.0.2     curl_2.3        memoise_1.0.0   git2r_0.18.0    digest_0.6.12  
[9] devtools_1.12.0

Other

Other things I tried:

  1. Installing treemap manually. Did not change anything.
  2. Googling various parts of this error. No hits.
  3. Restarting R.
@thomasp85
Copy link
Owner

Are you sure you have tried with latest GitHub version? The error message is referencing code that do not exist any longer

@Deleetdk
Copy link
Author

Yes. I used your installation code installing all three required packages from github:

devtools::install_github('hadley/ggplot2')
devtools::install_github('thomasp85/ggforce')
devtools::install_github('thomasp85/ggraph')

Sessioninfo with ggplot and ggforce attached:

> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252    LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C                   
[5] LC_TIME=Danish_Denmark.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggforce_0.1.1      ggplot2_2.2.1.9000 bindrcpp_0.1       igraph_1.0.1       magrittr_1.5       lavaan_0.5-22     
[7] pacman_0.4.1      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.9      bindr_0.1        units_0.4-2      MASS_7.3-45      mnormt_1.5-5     munsell_0.4.3    colorspace_1.3-2
 [8] pbivnorm_0.6.0   R6_2.2.0         quadprog_1.5-5   udunits2_0.13    plyr_1.8.4       dplyr_0.5.0.9000 tools_3.3.2     
[15] grid_3.3.2       gtable_0.2.0     DBI_0.5-1        deldir_0.1-12    lazyeval_0.2.0   assertthat_0.1   tibble_1.2      
[22] tweenr_0.1.5     scales_0.4.1     stats4_3.3.2    

@thomasp85
Copy link
Owner

Can I get you to copy paste the error message you get now instead of the one from #34 — the errors cannot be the same...

@Deleetdk
Copy link
Author

Retrying. Results:

> devtools::install_github('hadley/ggplot2')
Skipping install of 'ggplot2' from a github remote, the SHA1 (62f8e083) has not changed since last install.
  Use `force = TRUE` to force installation
> devtools::install_github('thomasp85/ggforce')
Skipping install of 'ggforce' from a github remote, the SHA1 (dea1d159) has not changed since last install.
  Use `force = TRUE` to force installation
> devtools::install_github('thomasp85/ggraph')
Downloading GitHub repo thomasp85/ggraph@master
from URL https://api.github.com/repos/thomasp85/ggraph/zipball/master
Installing ggraph
Downloading GitHub repo hadley/dplyr@master
from URL https://api.github.com/repos/hadley/dplyr/zipball/master
Installing dplyr
"C:/PROGRA~1/R/R-3.3.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Emil/AppData/Local/Temp/RtmpQ75Hbp/devtools1d404b1f722a/hadley-dplyr-860082f"  \
  --library="C:/Users/Emil/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'dplyr' ...
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c address.cpp -o address.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c api.cpp -o api.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c arrange.cpp -o arrange.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c between.cpp -o between.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c bind.cpp -o bind.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c combine_variables.cpp -o combine_variables.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c distinct.cpp -o distinct.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c filter.cpp -o filter.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c group_by.cpp -o group_by.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c group_indices.cpp -o group_indices.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid.cpp -o hybrid.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_count.cpp -o hybrid_count.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_debug.cpp -o hybrid_debug.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_in.cpp -o hybrid_in.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_minmax.cpp -o hybrid_minmax.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_nth.cpp -o hybrid_nth.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_offset.cpp -o hybrid_offset.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_simple.cpp -o hybrid_simple.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_window.cpp -o hybrid_window.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c init.cpp -o init.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c join.cpp -o join.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c join_exports.cpp -o join_exports.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c mutate.cpp -o mutate.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c select.cpp -o select.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c set.cpp -o set.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c summarise.cpp -o summarise.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c test.cpp -o test.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c utils.cpp -o utils.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c window.cpp -o window.o
c:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o dplyr.dll tmp.def RcppExports.o address.o api.o arrange.o between.o bind.o combine_variables.o distinct.o filter.o group_by.o group_indices.o hybrid.o hybrid_count.o hybrid_debug.o hybrid_in.o hybrid_minmax.o hybrid_nth.o hybrid_offset.o hybrid_simple.o hybrid_window.o init.o join.o join_exports.o mutate.o select.o set.o summarise.o test.o utils.o window.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-3.3.2/bin/i386 -lR
installing to C:/Users/Emil/Documents/R/win-library/3.3/dplyr/libs/i386

*** arch - x64
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c address.cpp -o address.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c api.cpp -o api.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c arrange.cpp -o arrange.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c between.cpp -o between.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c bind.cpp -o bind.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c combine_variables.cpp -o combine_variables.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c distinct.cpp -o distinct.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c filter.cpp -o filter.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c group_by.cpp -o group_by.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c group_indices.cpp -o group_indices.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid.cpp -o hybrid.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_count.cpp -o hybrid_count.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_debug.cpp -o hybrid_debug.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_in.cpp -o hybrid_in.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_minmax.cpp -o hybrid_minmax.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_nth.cpp -o hybrid_nth.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_offset.cpp -o hybrid_offset.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_simple.cpp -o hybrid_simple.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c hybrid_window.cpp -o hybrid_window.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c init.cpp -o init.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c join.cpp -o join.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c join_exports.cpp -o join_exports.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c mutate.cpp -o mutate.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c select.cpp -o select.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c set.cpp -o set.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c summarise.cpp -o summarise.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c test.cpp -o test.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c utils.cpp -o utils.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG -I../inst/include -DCOMPILING_DPLYR   -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/BH/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/bindrcpp/include" -I"C:/Users/Emil/Documents/R/win-library/3.3/plogr/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c window.cpp -o window.o
c:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o dplyr.dll tmp.def RcppExports.o address.o api.o arrange.o between.o bind.o combine_variables.o distinct.o filter.o group_by.o group_indices.o hybrid.o hybrid_count.o hybrid_debug.o hybrid_in.o hybrid_minmax.o hybrid_nth.o hybrid_offset.o hybrid_simple.o hybrid_window.o init.o join.o join_exports.o mutate.o select.o set.o summarise.o test.o utils.o window.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-3.3.2/bin/x64 -lR
installing to C:/Users/Emil/Documents/R/win-library/3.3/dplyr/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (dplyr)
"C:/PROGRA~1/R/R-3.3.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Emil/AppData/Local/Temp/RtmpQ75Hbp/devtools1d407a952900/thomasp85-ggraph-1284e54"  \
  --library="C:/Users/Emil/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'ggraph' ...
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c circlePack.cpp -o circlePack.o
circlePack.cpp: In function 'std::vector<NodePack*> createHierarchy(std::vector<int>, std::vector<double>)':
circlePack.cpp:378:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp:382:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp: In function 'int findTopNode(std::vector<NodePack*>&)':
circlePack.cpp:392:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
circlePack.cpp: In function 'Rcpp::NumericMatrix pack(Rcpp::NumericVector)':
circlePack.cpp:444:73: warning: narrowing conversion of '(circles.std::deque<_Tp, _Alloc>::size<Circle, std::allocator<Circle> >() + 1u)' from 'std::deque<Circle>::size_type {aka unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
         Circle c = {0, 0, std::sqrt(float(*itr / M_PI)), circles.size() + 1};
                                                                         ^
circlePack.cpp: In function 'Rcpp::NumericMatrix circlePackLayout(Rcpp::IntegerVector, Rcpp::NumericVector)':
circlePack.cpp:476:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c iciclePlot.cpp -o iciclePlot.o
In file included from iciclePlot.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
iciclePlot.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>, std::vector<double>)':
iciclePlot.cpp:8:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp: In function 'void icicleLayout(Node*, double, double)':
iciclePlot.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); i++) {
                           ^
iciclePlot.cpp: In function 'Rcpp::NumericMatrix partitionTree(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::NumericVector)':
iciclePlot.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
iciclePlot.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c lineCutter.cpp -o lineCutter.o
lineCutter.cpp: In function 'double copysign(double, double)':
lineCutter.cpp:4:8: error: redefinition of 'double copysign(double, double)'
 double copysign(double from, double to) {
        ^
In file included from C:/Rtools/mingw_32/i686-w64-mingw32/include/c++/cmath:44:0,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/platform/compiler.h:100,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp/r/headers.h:48,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/RcppCommon.h:29,
                 from C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include/Rcpp.h:27,
                 from lineCutter.cpp:1:
C:/Rtools/mingw_32/i686-w64-mingw32/include/math.h:913:31: note: 'double copysign(double, double)' previously defined here
   __CRT_INLINE double __cdecl copysign (double x, double y)
                               ^
make: *** [lineCutter.o] Error 1
Warning: running command 'make -f "C:/PROGRA~1/R/R-3.3.2/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-3.3.2/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="ggraph.dll" OBJECTS="RcppExports.o circlePack.o iciclePlot.o lineCutter.o pathAttr.o treemap.o"' had status 2
ERROR: compilation failed for package 'ggraph'
* removing 'C:/Users/Emil/Documents/R/win-library/3.3/ggraph'
Error: Command failed (1)

Not sure why it wanted to update dplyr first. Did not make a difference as far as I can tell.

SessionInfo

For good measure.

> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252    LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C                   
[5] LC_TIME=Danish_Denmark.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] httr_1.2.1      R6_2.2.0        tools_3.3.2     withr_1.0.2     curl_2.3        memoise_1.0.0   knitr_1.15.1    git2r_0.18.0   
 [9] digest_0.6.12   devtools_1.12.0

@Deleetdk
Copy link
Author

Looks like it's the same error, yes. So:

  • Error is not limited to Windows 8.1, but also occurs on 7.
  • Error is not limited to R 3.3.2, but also occurs on 3.3.1.
  • Error is not limited to Danish localization, but also occurs with Australian English.
  • Error may be limited to 64-bit.
  • Error may be limited to Windows.
  • Error may be limited to R 3.3.X.

I don't know cpp, but it appears to be sensitive to defining things/functions twice. Quick googling finds similar errors.

@thomasp85
Copy link
Owner

Yeah, I'll try to rename copysign though I have no idea how it is already available to the compiler seeing as I'm not using std

Btw your first error was because it couldn't find std::copysign which was why I defined it myself. So it is even more baffling why it complains now... windows is a strange beast

@thomasp85
Copy link
Owner

Can you provide an update on whether the recent change has fixed your issue

@Deleetdk
Copy link
Author

Works!

> devtools::install_github('thomasp85/ggraph')
Downloading GitHub repo thomasp85/ggraph@master
from URL https://api.github.com/repos/thomasp85/ggraph/zipball/master
Installing ggraph
"C:/PROGRA~1/R/R-3.3.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Emil/AppData/Local/Temp/RtmpwNNXZH/devtools16ac7ec42ffd/thomasp85-ggraph-0302c84"  \
  --library="C:/Users/Emil/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'ggraph' ...
** libs

*** arch - i386
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c circlePack.cpp -o circlePack.o
circlePack.cpp: In function 'std::vector<NodePack*> createHierarchy(std::vector<int>, std::vector<double>)':
circlePack.cpp:378:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp:382:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp: In function 'int findTopNode(std::vector<NodePack*>&)':
circlePack.cpp:392:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
circlePack.cpp: In function 'Rcpp::NumericMatrix pack(Rcpp::NumericVector)':
circlePack.cpp:444:73: warning: narrowing conversion of '(circles.std::deque<_Tp, _Alloc>::size<Circle, std::allocator<Circle> >() + 1u)' from 'std::deque<Circle>::size_type {aka unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
         Circle c = {0, 0, std::sqrt(float(*itr / M_PI)), circles.size() + 1};
                                                                         ^
circlePack.cpp: In function 'Rcpp::NumericMatrix circlePackLayout(Rcpp::IntegerVector, Rcpp::NumericVector)':
circlePack.cpp:476:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c iciclePlot.cpp -o iciclePlot.o
In file included from iciclePlot.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
iciclePlot.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>, std::vector<double>)':
iciclePlot.cpp:8:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp: In function 'void icicleLayout(Node*, double, double)':
iciclePlot.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); i++) {
                           ^
iciclePlot.cpp: In function 'Rcpp::NumericMatrix partitionTree(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::NumericVector)':
iciclePlot.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
iciclePlot.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c lineCutter.cpp -o lineCutter.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c pathAttr.cpp -o pathAttr.o
c:/Rtools/mingw_32/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c treemap.cpp -o treemap.o
In file included from treemap.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
treemap.cpp: In function 'double w(std::vector<Node*>&)':
treemap.cpp:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < nodes.size(); ++i) {
                       ^
treemap.cpp: In function 'void splitLayout(std::vector<Node*>, Rectangle)':
treemap.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < items.size(); ++i) {
                               ^
treemap.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>)':
treemap.cpp:75:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
treemap.cpp:79:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
treemap.cpp: In function 'Rcpp::NumericMatrix splitTreemap(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, double, double)':
treemap.cpp:94:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
treemap.cpp:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o ggraph.dll tmp.def RcppExports.o circlePack.o iciclePlot.o lineCutter.o pathAttr.o treemap.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-3.3.2/bin/i386 -lR
installing to C:/Users/Emil/Documents/R/win-library/3.3/ggraph/libs/i386

*** arch - x64
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c circlePack.cpp -o circlePack.o
circlePack.cpp: In function 'std::vector<NodePack*> createHierarchy(std::vector<int>, std::vector<double>)':
circlePack.cpp:378:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp:382:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
circlePack.cpp: In function 'int findTopNode(std::vector<NodePack*>&)':
circlePack.cpp:392:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
circlePack.cpp: In function 'Rcpp::NumericMatrix pack(Rcpp::NumericVector)':
circlePack.cpp:444:73: warning: narrowing conversion of '(circles.std::deque<_Tp, _Alloc>::size<Circle, std::allocator<Circle> >() + 1ull)' from 'std::deque<Circle>::size_type {aka long long unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
         Circle c = {0, 0, std::sqrt(float(*itr / M_PI)), circles.size() + 1};
                                                                         ^
circlePack.cpp: In function 'Rcpp::NumericMatrix circlePackLayout(Rcpp::IntegerVector, Rcpp::NumericVector)':
circlePack.cpp:476:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c iciclePlot.cpp -o iciclePlot.o
In file included from iciclePlot.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
iciclePlot.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>, std::vector<double>)':
iciclePlot.cpp:8:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
iciclePlot.cpp: In function 'void icicleLayout(Node*, double, double)':
iciclePlot.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); i++) {
                           ^
iciclePlot.cpp: In function 'Rcpp::NumericMatrix partitionTree(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::NumericVector)':
iciclePlot.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
iciclePlot.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c lineCutter.cpp -o lineCutter.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c pathAttr.cpp -o pathAttr.o
c:/Rtools/mingw_64/bin/g++  -I"C:/PROGRA~1/R/R-3.3.2/include" -DNDEBUG    -I"C:/Users/Emil/Documents/R/win-library/3.3/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mtune=core2 -c treemap.cpp -o treemap.o
In file included from treemap.cpp:2:0:
nodes.h: In member function 'std::vector<Node*> Node::getChildren()':
nodes.h:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < children.size(); ++i) {
                           ^
treemap.cpp: In function 'double w(std::vector<Node*>&)':
treemap.cpp:7:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < nodes.size(); ++i) {
                       ^
treemap.cpp: In function 'void splitLayout(std::vector<Node*>, Rectangle)':
treemap.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < items.size(); ++i) {
                               ^
treemap.cpp: In function 'std::vector<Node*> createHierarchy(std::vector<int>, std::vector<int>, std::vector<double>)':
treemap.cpp:75:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
treemap.cpp:79:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < parent.size(); ++i) {
                   ^
treemap.cpp: In function 'Rcpp::NumericMatrix splitTreemap(Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, double, double)':
treemap.cpp:94:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
treemap.cpp:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < nodes.size(); ++i) {
                   ^
c:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o ggraph.dll tmp.def RcppExports.o circlePack.o iciclePlot.o lineCutter.o pathAttr.o treemap.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-3.3.2/bin/x64 -lR
installing to C:/Users/Emil/Documents/R/win-library/3.3/ggraph/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (ggraph)

I'm leaving open in case it does not work for @robbibt.

@robbibt
Copy link

robbibt commented Feb 11, 2017

@Deleetdk @thomasp85 Confirmed that everything works on my end now, too. Thanks for the quick fix!

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

3 participants