* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘ActiSleep’ ...
** this is package ‘ActiSleep’ version ‘0.2.2’
** package ‘ActiSleep’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6DC0Xw/R.INSTALL1e77b23301c6e9/ActiSleep/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c BinNegative.cpp -o BinNegative.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c CallSegmentor.cpp -o CallSegmentor.o
In file included from CallSegmentor.cpp:2:
Segmentor.h: In instantiation of ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]’:
Segmentor.h:184:14: required from ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]’
184 | Initialize();
| ~~~~~~~~~~^~
Segmentor.h:152:12: required from ‘Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Poisson; FunctionTypeName = Poisson; DataTypeName = int]’
152 | Initialize(yc, Kc, Mg, Mgam, MS);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CallSegmentor.cpp:34:86: required from here
34 | Segmentor<Poisson, Poisson, int> TheSegmentor(LesObservations, K, MBg, MBgam, &S);
| ^
Segmentor.h:259:33: warning: deleting object of polymorphic class type ‘Poisson’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
259 | delete Aux;
| ^~~~~~~~~~
Segmentor.h: In instantiation of ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]’:
Segmentor.h:184:14: required from ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]’
184 | Initialize();
| ~~~~~~~~~~^~
Segmentor.h:152:12: required from ‘Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Exponential; FunctionTypeName = Exponential; DataTypeName = double]’
152 | Initialize(yc, Kc, Mg, Mgam, MS);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CallSegmentor.cpp:73:97: required from here
73 | Segmentor<Exponential, Exponential, double> TheSegmentor(LesObservations, K, MBg, MBgam, &S);
| ^
Segmentor.h:259:33: warning: deleting object of polymorphic class type ‘Exponential’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
259 | delete Aux;
| ^~~~~~~~~~
Segmentor.h: In instantiation of ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]’:
Segmentor.h:184:14: required from ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]’
184 | Initialize();
| ~~~~~~~~~~^~
Segmentor.h:152:12: required from ‘Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = BinNegative; FunctionTypeName = BinNegative; DataTypeName = int]’
152 | Initialize(yc, Kc, Mg, Mgam, MS);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CallSegmentor.cpp:205:94: required from here
205 | Segmentor<BinNegative, BinNegative, int> TheSegmentor(LesObservations, K, MBg, MBgam, &S);
| ^
Segmentor.h:259:33: warning: deleting object of polymorphic class type ‘BinNegative’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
259 | delete Aux;
| ^~~~~~~~~~
Segmentor.h: In instantiation of ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]’:
Segmentor.h:184:14: required from ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]’
184 | Initialize();
| ~~~~~~~~~~^~
Segmentor.h:152:12: required from ‘Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Trinome; FunctionTypeName = Trinome; DataTypeName = double]’
152 | Initialize(yc, Kc, Mg, Mgam, MS);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CallSegmentor.cpp:288:89: required from here
288 | Segmentor<Trinome, Trinome, double> TheSegmentor(LesObservations, K, MBg, MBgam, &S);
| ^
Segmentor.h:259:33: warning: deleting object of polymorphic class type ‘Trinome’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
259 | delete Aux;
| ^~~~~~~~~~
Segmentor.h: In instantiation of ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize() [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]’:
Segmentor.h:184:14: required from ‘void Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Initialize(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]’
184 | Initialize();
| ~~~~~~~~~~^~
Segmentor.h:152:12: required from ‘Segmentor<SumOfFunctionsTypeName, FunctionTypeName, DataTypeName>::Segmentor(Observations<DataTypeName>&, int, FunctionTypeName, FunctionTypeName, MultiSegment*) [with SumOfFunctionsTypeName = Variance; FunctionTypeName = Variance; DataTypeName = double]’
152 | Initialize(yc, Kc, Mg, Mgam, MS);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CallSegmentor.cpp:369:91: required from here
369 | Segmentor<Variance, Variance, double> TheSegmentor(LesObservations, K, MVg, MVgam, &S);
| ^
Segmentor.h:259:33: warning: deleting object of polymorphic class type ‘Variance’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
259 | delete Aux;
| ^~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Exp.cpp -o Exp.o
Exp.cpp: In member function ‘double Exponential::ArgMin(Segment&)’:
Exp.cpp:99:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
99 | if(!Tol.Contains((*this).B))
| ^
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Function.cpp -o Function.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c GeneralFunctions.cpp -o GeneralFunctions.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c MyVector.cpp -o MyVector.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Observations.cpp -o Observations.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Poisson.cpp -o Poisson.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c PrunedSeg.cc -o PrunedSeg.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Segment.cpp -o Segment.o
Segment.cpp: In member function ‘MultiSegment* Segment::IntersectWithComplementary(Segment&)’:
Segment.cpp:244:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
244 | if (Other.GetRight() < PLUS_INFINITY)
| ^~
Segment.cpp:247:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
247 | Segment *T = (*this).Intersect(K);
| ^~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Segmentor.cpp -o Segmentor.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Sets.cpp -o Sets.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Trinome.cpp -o Trinome.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c Variance.cpp -o Variance.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c init.cpp -o init.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o ActiSleep.so BinNegative.o CallSegmentor.o Exp.o Function.o GeneralFunctions.o MyVector.o Observations.o Poisson.o PrunedSeg.o Segment.o Segmentor.o Sets.o Trinome.o Variance.o init.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6DC0Xw/R.INSTALL1e77b23301c6e9/ActiSleep/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6DC0Xw/R.INSTALL1e77b23301c6e9/ActiSleep/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6DC0Xw/R.INSTALL1e77b23301c6e9/ActiSleep/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-ActiSleep/00new/ActiSleep/libs
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘ActiSleep’
finding HTML links ... done
AccelData html
ChangeTimeVar html
GetDiary_subj html
GetEstSleepInterval_subj html
SearchSleepSeg html
Segmentor-class html
SleepDiary1Day html
SleepDiary1Week html
SleepEstEachDay html
aggregate_dat html
cal_mean_idx html
read_agd html
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ActiSleep)