* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘literanger’ ...
** package ‘literanger’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
make[1]: Entering directory '/tmp/RtmpGOXQM0/R.INSTALL5c44c7a34ead7/literanger/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c cpp11.cpp -o cpp11.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c cpp11_predict.cpp -o cpp11_predict.o
In file included from cpp11_predict.cpp:52:
In file included from ./ForestClassification.h:18:
In file included from ./ForestClassification.defn.h:19:
./ForestClassification.decl.h:37:12: warning: class 'Forest' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   37 |     friend class Forest<ForestClassification>;
      |            ^
./Forest.decl.h:50:8: note: previous use is here
   50 | struct Forest : public ForestBase {
      |        ^
./ForestClassification.decl.h:37:12: note: did you mean struct here?
   37 |     friend class Forest<ForestClassification>;
      |            ^~~~~
      |            struct
In file included from cpp11_predict.cpp:52:
In file included from ./ForestClassification.h:18:
In file included from ./ForestClassification.defn.h:33:
In file included from ./TreeClassification.defn.h:19:
./TreeClassification.decl.h:37:12: warning: class 'Tree' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   37 |     friend class Tree<TreeClassification>;
      |            ^
./Tree.decl.h:35:8: note: previous use is here
   35 | struct Tree : TreeBase {
      |        ^
./TreeClassification.decl.h:37:12: note: did you mean struct here?
   37 |     friend class Tree<TreeClassification>;
      |            ^~~~~
      |            struct
In file included from cpp11_predict.cpp:53:
In file included from ./ForestRegression.h:18:
In file included from ./ForestRegression.defn.h:19:
./ForestRegression.decl.h:36:12: warning: class 'Forest' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   36 |     friend class Forest<ForestRegression>;
      |            ^
./Forest.decl.h:50:8: note: previous use is here
   50 | struct Forest : public ForestBase {
      |        ^
./ForestRegression.decl.h:36:12: note: did you mean struct here?
   36 |     friend class Forest<ForestRegression>;
      |            ^~~~~
      |            struct
In file included from cpp11_predict.cpp:53:
In file included from ./ForestRegression.h:18:
In file included from ./ForestRegression.defn.h:32:
In file included from ./TreeRegression.defn.h:19:
./TreeRegression.decl.h:38:12: warning: class 'Tree' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   38 |     friend class Tree<TreeRegression>;
      |            ^
./Tree.decl.h:35:8: note: previous use is here
   35 | struct Tree : TreeBase {
      |        ^
./TreeRegression.decl.h:38:12: note: did you mean struct here?
   38 |     friend class Tree<TreeRegression>;
      |            ^~~~~
      |            struct
4 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c cpp11_train.cpp -o cpp11_train.o
In file included from cpp11_train.cpp:50:
In file included from ./ForestClassification.h:18:
In file included from ./ForestClassification.defn.h:19:
./ForestClassification.decl.h:37:12: warning: class 'Forest' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   37 |     friend class Forest<ForestClassification>;
      |            ^
./Forest.decl.h:50:8: note: previous use is here
   50 | struct Forest : public ForestBase {
      |        ^
./ForestClassification.decl.h:37:12: note: did you mean struct here?
   37 |     friend class Forest<ForestClassification>;
      |            ^~~~~
      |            struct
In file included from cpp11_train.cpp:50:
In file included from ./ForestClassification.h:18:
In file included from ./ForestClassification.defn.h:33:
In file included from ./TreeClassification.defn.h:19:
./TreeClassification.decl.h:37:12: warning: class 'Tree' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   37 |     friend class Tree<TreeClassification>;
      |            ^
./Tree.decl.h:35:8: note: previous use is here
   35 | struct Tree : TreeBase {
      |        ^
./TreeClassification.decl.h:37:12: note: did you mean struct here?
   37 |     friend class Tree<TreeClassification>;
      |            ^~~~~
      |            struct
In file included from cpp11_train.cpp:51:
In file included from ./ForestRegression.h:18:
In file included from ./ForestRegression.defn.h:19:
./ForestRegression.decl.h:36:12: warning: class 'Forest' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   36 |     friend class Forest<ForestRegression>;
      |            ^
./Forest.decl.h:50:8: note: previous use is here
   50 | struct Forest : public ForestBase {
      |        ^
./ForestRegression.decl.h:36:12: note: did you mean struct here?
   36 |     friend class Forest<ForestRegression>;
      |            ^~~~~
      |            struct
In file included from cpp11_train.cpp:51:
In file included from ./ForestRegression.h:18:
In file included from ./ForestRegression.defn.h:32:
In file included from ./TreeRegression.defn.h:19:
./TreeRegression.decl.h:38:12: warning: class 'Tree' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   38 |     friend class Tree<TreeRegression>;
      |            ^
./Tree.decl.h:35:8: note: previous use is here
   35 | struct Tree : TreeBase {
      |        ^
./TreeRegression.decl.h:38:12: note: did you mean struct here?
   38 |     friend class Tree<TreeRegression>;
      |            ^~~~~
      |            struct
4 warnings generated.
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o literanger.so cpp11.o cpp11_predict.o cpp11_train.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpGOXQM0/R.INSTALL5c44c7a34ead7/literanger/src'
make[1]: Entering directory '/tmp/RtmpGOXQM0/R.INSTALL5c44c7a34ead7/literanger/src'
make[1]: Leaving directory '/tmp/RtmpGOXQM0/R.INSTALL5c44c7a34ead7/literanger/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-literanger/00new/literanger/libs
** R
** 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
** 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 (literanger)