* installing *source* package ‘literanger’ ...
** package ‘literanger’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/literanger/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c cpp11.cpp -o cpp11.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -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
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c cpp11_train.cpp -o cpp11_train.o
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
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.
4 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o literanger.so cpp11.o cpp11_predict.o cpp11_train.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/literanger/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/literanger/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/literanger/src'
installing to /data/gannet/ripley/R/packages/tests-clang/literanger.Rcheck/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)