You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==> Rcpp::compileAttributes()
* Updated R/RcppExports.R
==> Rcmd.exe INSTALL --preclean --no-multiarch --with-keep.source Explore
* installing to library 'C:/R/R-4.2.1/library'
* installing *source* package 'Explore' ...
** using staged installation
** libs
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ExploreInterface.cpp -o ExploreInterface.o
ExploreInterface.cpp: In function 'void runExplore(Rcpp::CharacterVector)':
ExploreInterface.cpp:28:7: warning: unused variable 'res' [-Wunused-variable]
28 | int res = main(argc, argv);
| ^~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/common.cpp -o C++/common.o
C++/common.cpp: In function 'std::string PrintOperator(OPERATOR)':
C++/common.cpp:54:10: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
54 | switch (Operator) {
| ^
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/IOExplore/IOExplore.cpp -o C++/IOExplore/IOExplore.o
C++/IOExplore/IOExplore.cpp: In member function 'bool IOExplore::ReadArffDataFile()':
C++/IOExplore/IOExplore.cpp:289:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
289 | for (int i=0; i<strlen(MyToken); i++) //Uppercase Token
| ~^~~~~~~~~~~~~~~~
C++/IOExplore/IOExplore.cpp:298:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
298 | FeatureName = str_parse(&Dummy," \t");
| ^~~~~
C++/IOExplore/IOExplore.cpp:299:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
299 | FeatureType = str_parse(&Dummy," \t");
| ^~~~~
C++/IOExplore/IOExplore.cpp:300:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare]
300 | for (int i=0; (i<strlen(FeatureType)) && FeatureType; i++) //Uppercase Token
| ~^~~~~~~~~~~~~~~~~~~~
C++/IOExplore/IOExplore.cpp:334:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
334 | MyToken = str_parse(&Dummy,",");
| ^~~
C++/IOExplore/IOExplore.cpp:342:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
342 | MyToken = str_parse(&Dummy,",");
| ^~~
C++/IOExplore/IOExplore.cpp:270:15: warning: unused variable 'Class' [-Wunused-variable]
270 | unsigned int Class;
| ^~~~~
C++/IOExplore/IOExplore.cpp: In member function 'void IOExplore::SavePartitionFile(std::string, PARTITION_TYPE, unsigned int)':
C++/IOExplore/IOExplore.cpp:411:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
411 | string newfilename = str_parse(&dummy,".");
| ^~~
C++/IOExplore/IOExplore.cpp: In member function 'bool IOExplore::SaveExploreToProject(std::string)':
C++/IOExplore/IOExplore.cpp:452:9: warning: enumeration value 'LEAVE_ONE_OUT' not handled in switch [-Wswitch]
452 | switch (Project->GetPartitionMethod()){
| ^
C++/IOExplore/IOExplore.cpp:551:14: warning: enumeration value 'EQUAL' not handled in switch [-Wswitch]
551 | switch (Project->GetOperator(i)){
| ^
C++/IOExplore/IOExplore.cpp: In member function 'bool IOExplore::SaveSettingsToFile(std::string)':
C++/IOExplore/IOExplore.cpp:744:12: warning: enumeration value 'LEAVE_ONE_OUT' not handled in switch [-Wswitch]
744 | switch (ProjectSettings.PartitionMethod) {
| ^
C++/IOExplore/IOExplore.cpp:824:14: warning: enumeration value 'EQUAL' not handled in switch [-Wswitch]
824 | switch ((*CurrentRestriction).Operator) {
| ^
C++/IOExplore/IOExplore.cpp:726:8: warning: unused variable 'Buffer' [-Wunused-variable]
726 | char Buffer[MAX_LINESIZE];
| ^~~~~~
C++/IOExplore/IOExplore.cpp: In member function 'bool IOExplore::SetupExploreFromProject(std::string)':
C++/IOExplore/IOExplore.cpp:1031:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
1031 | MyToken = str_parse(&Dummy,"=");
| ^~~
C++/IOExplore/IOExplore.cpp:1039:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
1039 | MyToken = str_parse(&Dummy,"=");
| ^~~
C++/IOExplore/IOExplore.cpp:1213:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
1213 | MyToken = str_parse(&FeatureRestriction,";");
| ^~~
C++/IOExplore/IOExplore.cpp:1216:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
1216 | MyToken = str_parse(&FeatureRestriction,";");
| ^~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/bin.cpp -o C++/Explore/bin.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/candidate.cpp -o C++/Explore/candidate.o
C++/Explore/candidate.cpp: In member function 'bool CANDIDATE::InterpretCombinations(std::string)':
C++/Explore/candidate.cpp:481:8: warning: unused variable 'Buffer' [-Wunused-variable]
481 | char Buffer[MAX_LINESIZE];
| ^~~~~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/classdef.cpp -o C++/Explore/classdef.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/condition.cpp -o C++/Explore/condition.o
C++/Explore/condition.cpp: In constructor 'CONDITION::CONDITION(unsigned int, std::string, std::vector<CUTOFF>, OPERATOR, unsigned int)':
C++/Explore/condition.cpp:47:18: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
47 | CutoffNumber = NULL;
| ^~~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/conjunction.cpp -o C++/Explore/conjunction.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/constraint.cpp -o C++/Explore/constraint.o
C++/Explore/constraint.cpp: In constructor 'CONSTRAINT::CONSTRAINT()':
C++/Explore/constraint.cpp:11:11: warning: converting to non-pointer type 'float' from NULL [-Wconversion-null]
11 | Value = NULL;
| ^~~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/cutoff.cpp -o C++/Explore/cutoff.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/explore.cpp -o C++/Explore/explore.o
C++/Explore/explore.cpp: In member function 'double Explore::RuleComplexity()':
C++/Explore/explore.cpp:110:12: warning: enumeration value 'LEAVE_ONE_OUT' not handled in switch [-Wswitch]
110 | switch (PartitionMethod) {
| ^
C++/Explore/explore.cpp: In member function 'void Explore::PrintSettings()':
C++/Explore/explore.cpp:661:16: warning: unused variable 'Selected' [-Wunused-variable]
661 | unsigned int Selected;
| ^~~~~~~~
C++/Explore/explore.cpp: In member function 'void Explore::Resume()':
C++/Explore/explore.cpp:2625:10: warning: unused variable 'dummy' [-Wunused-variable]
2625 | time_t dummy;
| ^~~~~
C++/Explore/explore.cpp: In member function 'bool Explore::RunProject()':
C++/Explore/explore.cpp:2849:16: warning: unused variable 'BreatheCount' [-Wunused-variable]
2849 | unsigned int BreatheCount = 0;
| ^~~~~~~~~~~~
C++/Explore/explore.cpp:2851:10: warning: unused variable 'dummy' [-Wunused-variable]
2851 | time_t dummy;
| ^~~~~
C++/Explore/explore.cpp:2852:16: warning: unused variable 'ActiveRuleLength' [-Wunused-variable]
2852 | unsigned int ActiveRuleLength;
| ^~~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'void Explore::Induce(int, int)':
C++/Explore/explore.cpp:3374:16: warning: unused variable 'BreatheCount' [-Wunused-variable]
3374 | unsigned int BreatheCount = 0;
| ^~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'bool Explore::ResumeProject()':
C++/Explore/explore.cpp:3453:16: warning: unused variable 'BreatheCount' [-Wunused-variable]
3453 | unsigned int BreatheCount = 0;
| ^~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'void Explore::PrintSummary()':
C++/Explore/explore.cpp:3765:8: warning: variable 'CombinationsLongDone' set but not used [-Wunused-but-set-variable]
3765 | long CombinationsLongDone, FeatureSetsLongDone, CutoffSetsLongDone;
| ^~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3765:30: warning: variable 'FeatureSetsLongDone' set but not used [-Wunused-but-set-variable]
3765 | long CombinationsLongDone, FeatureSetsLongDone, CutoffSetsLongDone;
| ^~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3765:51: warning: variable 'CutoffSetsLongDone' set but not used [-Wunused-but-set-variable]
3765 | long CombinationsLongDone, FeatureSetsLongDone, CutoffSetsLongDone;
| ^~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3766:8: warning: variable 'CombinationsLongTotal' set but not used [-Wunused-but-set-variable]
3766 | long CombinationsLongTotal, FeatureSetsLongTotal;
| ^~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3766:31: warning: variable 'FeatureSetsLongTotal' set but not used [-Wunused-but-set-variable]
3766 | long CombinationsLongTotal, FeatureSetsLongTotal;
| ^~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3767:16: warning: variable 'PartitionsDone' set but not used [-Wunused-but-set-variable]
3767 | unsigned int PartitionsDone, PartitionsTotal;
| ^~~~~~~~~~~~~~
C++/Explore/explore.cpp:3767:32: warning: unused variable 'PartitionsTotal' [-Wunused-variable]
3767 | unsigned int PartitionsDone, PartitionsTotal;
| ^~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3768:10: warning: variable 'RulesTotalLimit' set but not used [-Wunused-but-set-variable]
3768 | double RulesTotalLimit;
| ^~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'void Explore::SavePartitionFile(std::string, PARTITION_TYPE, unsigned int)':
C++/Explore/explore.cpp:3854:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
3854 | string newfilename = str_parse(&dummy,".");
| ^~~
C++/Explore/explore.cpp: In member function 'void Explore::Induce(int, int)':
C++/Explore/explore.cpp:3407:28: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
3407 | if (Rule.TestRule(Initialised, Constraints,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
3408 | CandidatePerformance, MaximizeMeasure, RestrictionSet,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3409 | RuleOutputMethod, IsPrintPerformance, IsPrintSets)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'void Explore::SummarisePerformance()':
C++/Explore/explore.cpp:425:22: warning: 'CurrentValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
425 | OverallPerformance += CurrentValue;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In function 'Explore::RunProject()::<lambda(tbb::blocked_range<int>)>::<lambda(tbb::blocked_range<int>)>':
C++/Explore/explore.cpp:3228:37: warning: 'change' may be used uninitialized in this function [-Wmaybe-uninitialized]
3228 | if (change) {
| ^~
C++/Explore/explore.cpp:3195:53: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
3195 | if (Rule_ij.TestRule(Initialised, Constraints,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
3196 | CandidatePerformance, MaximizeMeasure, RestrictionSet,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3197 | RuleOutputMethod, IsPrintPerformance, IsPrintSets)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In function 'Explore::RunProject()::<lambda(tbb::blocked_range<int>)>':
C++/Explore/explore.cpp:3072:29: warning: 'change' may be used uninitialized in this function [-Wmaybe-uninitialized]
3072 | if (change) {
| ^~
C++/Explore/explore.cpp:3039:44: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
3039 | if (Rule_i.TestRule(Initialised, Constraints,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
3040 | CandidatePerformance, MaximizeMeasure, RestrictionSet,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3041 | RuleOutputMethod, IsPrintPerformance, IsPrintSets)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'bool Explore::RunProject()':
C++/Explore/explore.cpp:2927:34: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
2927 | if (Rule.TestRule(Initialised, Constraints,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
2928 | CandidatePerformance, MaximizeMeasure, RestrictionSet,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2929 | RuleOutputMethod, IsPrintPerformance, IsPrintSets)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp: In member function 'bool Explore::ResumeProject()':
C++/Explore/explore.cpp:3543:24: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
3543 | Rule.TestRule(Initialised, Constraints, CandidatePerformance, MaximizeMeasure, RestrictionSet, RuleOutputMethod, IsPrintPerformance, IsPrintSets);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/explore.cpp:3485:24: warning: 'CandidatePerformance' may be used uninitialized in this function [-Wmaybe-uninitialized]
3485 | Rule.TestRule(Initialised, Constraints, CandidatePerformance, MaximizeMeasure, RestrictionSet, RuleOutputMethod, IsPrintPerformance, IsPrintSets);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/feature.cpp -o C++/Explore/feature.o
C++/Explore/feature.cpp: In member function 'void FEATURE::ROCDiagonalOperator()':
C++/Explore/feature.cpp:811:11: warning: unused variable 'ROCDiagonal' [-Wunused-variable]
811 | float ROCDiagonal, Sensitivity, FPF;
| ^~~~~~~~~~~
C++/Explore/feature.cpp: In member function 'void FEATURE::InitialiseRanges()':
C++/Explore/feature.cpp:1224:13: warning: 'InRange' may be used uninitialized in this function [-Wmaybe-uninitialized]
1224 | if (!InRange) {
| ^~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/mandatory.cpp -o C++/Explore/mandatory.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/observation.cpp -o C++/Explore/observation.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/partition.cpp -o C++/Explore/partition.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/performance.cpp -o C++/Explore/performance.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/population.cpp -o C++/Explore/population.o
C++/Explore/population.cpp: In member function 'void POPULATION::PrintSettings()':
C++/Explore/population.cpp:326:10: warning: enumeration value 'LEAVE_ONE_OUT' not handled in switch [-Wswitch]
326 | switch (*PartitionMethod) {
| ^
C++/Explore/population.cpp: In member function 'void POPULATION::PrintPartitions()':
C++/Explore/population.cpp:457:9: warning: unused variable 'Type' [-Wunused-variable]
457 | char* Type;
| ^~~~
C++/Explore/population.cpp: In member function 'unsigned int POPULATION::GetRandomNumber(unsigned int)':
C++/Explore/population.cpp:656:10: warning: unused variable 'FloatingPoint' [-Wunused-variable]
656 | double FloatingPoint; // Needed to generator a random number
| ^~~~~~~~~~~~~
C++/Explore/population.cpp: In member function 'void POPULATION::InitialisePartitions()':
C++/Explore/population.cpp:1129:16: warning: unused variable 'CurrentClass' [-Wunused-variable]
1129 | unsigned int CurrentClass, PartitionSize, Order;
| ^~~~~~~~~~~~
C++/Explore/population.cpp:1137:12: warning: unused variable 'TempClass' [-Wunused-variable]
1137 | CLASSES* TempClass;
| ^~~~~~~~~
C++/Explore/population.cpp: In member function 'void POPULATION::Stratify()':
C++/Explore/population.cpp:1189:28: warning: unused variable 'no' [-Wunused-variable]
1189 | unsigned int Class,Order,no;
| ^~
C++/Explore/population.cpp: In member function 'bool POPULATION::Holdout()':
C++/Explore/population.cpp:1331:32: warning: unused variable 'UpperBound' [-Wunused-variable]
1331 | unsigned int RandomNumber, UpperBound, NoClassObs, PartitionSize;
| ^~~~~~~~~~
C++/Explore/population.cpp: In member function 'bool POPULATION::CrossValidate()':
C++/Explore/population.cpp:1464:15: warning: unused variable 'UpperBound' [-Wunused-variable]
1464 | unsigned int UpperBound, NoClassObs;
| ^~~~~~~~~~
C++/Explore/population.cpp: In member function 'void POPULATION::ResetTestPartitions()':
C++/Explore/population.cpp:1614:9: warning: statement has no effect [-Wunused-value]
1614 | for (CurrentPartition; CurrentPartition != LastPartition; CurrentPartition++) {
| ^~~~~~~~~~~~~~~~
C++/Explore/population.cpp: In member function 'bool POPULATION::Partition()':
C++/Explore/population.cpp:1070:3: warning: 'Result' may be used uninitialized in this function [-Wmaybe-uninitialized]
1070 | if (Result) {
| ^~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/roc.cpp -o C++/Explore/roc.o
C++/Explore/roc.cpp: In member function 'void ROC::AddEntry(double, double)':
C++/Explore/roc.cpp:49:10: warning: unused variable 'MaxValue' [-Wunused-variable]
49 | double MaxValue;
| ^~~~~~~~
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/rocpair.cpp -o C++/Explore/rocpair.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/rule.cpp -o C++/Explore/rule.o
C++/Explore/rule.cpp: In constructor 'RULE::RULE()':
C++/Explore/rule.cpp:43:21: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
43 | CurrentLength = NULL;
| ^~~~
C++/Explore/rule.cpp:44:17: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
44 | MinLength = NULL;
| ^~~~
C++/Explore/rule.cpp:45:17: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
45 | MaxLength = NULL;
| ^~~~
C++/Explore/rule.cpp: In member function 'double RULE::RuleComplexity(unsigned int)':
C++/Explore/rule.cpp:795:12: warning: unused variable 'FeatureSetComplexity' [-Wunused-variable]
795 | double FeatureSetComplexity=0;
| ^~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::StartRuleLength(int)':
C++/Explore/rule.cpp:1608:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1608 | if (i<=MaxLength) { // Create first combination for next rulelength
| ~^~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::NextFeatureSet(int, int)':
C++/Explore/rule.cpp:1700:79: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
1700 | if (Conjunctions[i].Conditions[0].FeatureOperator ==
C++/Explore/rule.cpp:1717:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<CONJUNCTION>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
1717 | if (Left<(Conjunctions.size()-1-ConjunctionNr)){
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp:1754:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<CUTOFF>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
1754 | if (NumRepeats < Conjunctions[ConjunctionNr - 1].Conditions[0].Cutoffs.size() - 1) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp:1774:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
1774 | if (FOperatorNr > NoFeatureOperators) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp:1826:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<CUTOFF>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
1826 | if (NumRepeats < Conjunctions[ConjunctionNr-1].Conditions[ConditionNr].Cutoffs.size()-1){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp:1642:9: warning: unused variable 'ConjunctionSize' [-Wunused-variable]
1642 | int ConjunctionSize, ConjunctionNr, ConditionNr, FOperatorNr, MaxFOperator;
| ^~~~~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::NextCandidateCutoffSet_Rule(PERFORMANCE_MEASURE)':
C++/Explore/rule.cpp:2186:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<CONJUNCTION>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
2186 | for (ConjunctionNo=0;ConjunctionNo<Conjunctions.size();ConjunctionNo++) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::NextCandidateCutoffSet_Conjunction(int, PERFORMANCE_MEASURE, bool)':
C++/Explore/rule.cpp:2271:25: warning: unused variable 'r' [-Wunused-variable]
2271 | int r=Conjunctions.size();
| ^
C++/Explore/rule.cpp:2238:9: warning: unused variable 'ConditionNo' [-Wunused-variable]
2238 | int ConditionNo;
| ^~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::CheckStopFeature(CANDIDATE)':
C++/Explore/rule.cpp:2803:18: warning: unused variable 'CurrentCondition' [-Wunused-variable]
2803 | CONDITION* CurrentCondition;
| ^~~~~~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::MatchConjunctionCutoffSet(unsigned int, unsigned int)':
C++/Explore/rule.cpp:2983:12: warning: unused variable 'Precision' [-Wunused-variable]
2983 | double Precision = 1e-6;
| ^~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::TestRule(bool, std::vector<CONSTRAINT>, float, PERFORMANCE_MEASURE, bool, RULE_OUTPUT_METHOD, bool, bool)':
C++/Explore/rule.cpp:3217:12: warning: enumeration value 'BEST' not handled in switch [-Wswitch]
3217 | switch (RuleOutputMethod) {
| ^
C++/Explore/rule.cpp:3188:10: warning: variable 'Candidate' set but not used [-Wunused-but-set-variable]
3188 | bool Candidate = false;
| ^~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::CompareConstraints(PERFORMANCE, bool, std::vector<CONSTRAINT>)':
C++/Explore/rule.cpp:3272:24: warning: enumeration value 'BALANCEDACCURACY' not handled in switch [-Wswitch]
3272 | switch ((*CurrentConstraint).Measure) {
| ^
C++/Explore/rule.cpp:3272:24: warning: enumeration value 'F1SCORE' not handled in switch [-Wswitch]
C++/Explore/rule.cpp: In member function 'bool RULE::NextCutoffSet()':
C++/Explore/rule.cpp:2135:93: warning: 'PreviousCondition' may be used uninitialized in this function [-Wmaybe-uninitialized]
2135 | CurrentCondition->CutoffNumber = PreviousCondition->CutoffNumber;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'void RULE::SetTestMode(PARTITION_TYPE)':
C++/Explore/rule.cpp:2575:43: warning: 'PartitionClasses' may be used uninitialized in this function [-Wmaybe-uninitialized]
2575 | FeatureOperators[j].InitialiseSets(PartitionClasses);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::TestRule(bool, std::vector<CONSTRAINT>, float, PERFORMANCE_MEASURE, bool, RULE_OUTPUT_METHOD, bool, bool)':
C++/Explore/rule.cpp:3356:9: warning: 'RuleValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
3356 | if (CandidateValue<=RuleValue) { // TODO: why = included here?
| ^~
C++/Explore/rule.cpp:3327:15: note: 'RuleValue' was declared here
3327 | float RuleValue;
| ^~~~~~~~~
C++/Explore/rule.cpp:3289:17: warning: 'RuleValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
3289 | if (ConstraintValue > RuleValue) {
| ^~
C++/Explore/rule.cpp:3268:15: note: 'RuleValue' was declared here
3268 | float RuleValue,ConstraintValue;
| ^~~~~~~~~
C++/Explore/rule.cpp: In member function 'bool RULE::CompareConstraints(PERFORMANCE, bool, std::vector<CONSTRAINT>)':
C++/Explore/rule.cpp:3289:17: warning: 'RuleValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
3289 | if (ConstraintValue > RuleValue) {
| ^~
C++/Explore/rule.cpp: In member function 'bool RULE::CompareBestCandidate(PERFORMANCE, bool, float, PERFORMANCE_MEASURE)':
C++/Explore/rule.cpp:3356:9: warning: 'RuleValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
3356 | if (CandidateValue<=RuleValue) { // TODO: why = included here?
| ^~
C++/Explore/rule.cpp: In member function 'int RULE::FindBestLength(bool, CANDIDATE, PARTITION_METHOD, PERFORMANCE_MEASURE)':
C++/Explore/rule.cpp:3495:29: warning: 'current' may be used uninitialized in this function [-Wmaybe-uninitialized]
3495 | if (current > best) {
| ^~
C++/Explore/rule.cpp:3495:29: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized]
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/set.cpp -o C++/Explore/set.o
g++ -std=gnu++11 -I"C:/R/R-4.2.1/include" -DNDEBUG -I'C:/R/R-4.2.1/library/Rcpp/include' -I'C:/R/R-4.2.1/library/BH/include' -I'C:/R/R-4.2.1/library/RcppParallel/include' -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C++/Explore/timing.cpp -o C++/Explore/timing.o
C++/Explore/timing.cpp: In member function 'std::string TIMING::PrintAll()':
C++/Explore/timing.cpp:93:16: warning: variable 'DescriptionPads' set but not used [-Wunused-but-set-variable]
93 | unsigned int DescriptionPads;
| ^~~~~~~~~~~~~~~
C++/Explore/timing.cpp: In member function 'std::string TIMING::PrintLast()':
C++/Explore/timing.cpp:142:16: warning: variable 'DescriptionPads' set but not used [-Wunused-but-set-variable]
142 | unsigned int DescriptionPads;
| ^~~~~~~~~~~~~~~
g++ -std=gnu++11 -shared -s -static-libgcc -o Explore.dll tmp.def ExploreInterface.o RcppExports.o C++/common.o C++/IOExplore/IOExplore.o C++/Explore/bin.o C++/Explore/candidate.o C++/Explore/classdef.o C++/Explore/condition.o C++/Explore/conjunction.o C++/Explore/constraint.o C++/Explore/cutoff.o C++/Explore/explore.o C++/Explore/feature.o C++/Explore/mandatory.o C++/Explore/observation.o C++/Explore/partition.o C++/Explore/performance.o C++/Explore/population.o C++/Explore/roc.o C++/Explore/rocpair.o C++/Explore/rule.o C++/Explore/set.o C++/Explore/timing.o -LC:/R/R-4.2.1/library/RcppParallel/lib/x64 -ltbb -ltbbmalloc -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib -LC:/R/R-4.2.1/bin/x64 -lR
installing to C:/R/R-4.2.1/library/00LOCK-Explore/00new/Explore/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'Explore' in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/R/R-4.2.1/library/00LOCK-Explore/00new/Explore/libs/x64/Explore.dll':
LoadLibrary failure: The specified module could not be found.
Error: loading failed
Execution halted
ERROR: loading failed
* removing 'C:/R/R-4.2.1/library/Explore'
Exited with status 1.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: