Found the following significant warnings:
  /data/gannet/ripley/R/test-clang/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:11: warning: 'min' is deprecated: use .index_min() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/approx_kfn/drusilla_select_impl.hpp:98:11: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:22: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:249:20: warning: 'max' is deprecated [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:327:18: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:207:26: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:13: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:33: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:47: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:126:40: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:148:13: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:158:17: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:145:24: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:147:24: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:159:15: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:68:40: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:83:15: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/naive_bayes/naive_bayes_classifier_impl.hpp:388:34: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:360:17: warning: 'max' is deprecated: use .index_max() instead [-Wdeprecated-declarations]
  ../inst/include/mlpack/methods/radical/radical_impl.hpp:107:10: warning: 'min' is deprecated: use .index_min() instead [-Wdeprecated-declarations]
See ‘/data/gannet/ripley/R/packages/tests-clang/mlpack.Rcheck/00install.out’ for details.
* used C++ compiler: ‘clang version 19.1.3’