In Armadillo 11.4.4, @conradsnicta deprecated two load/save methods. RcppArmadillo 0.11.4.4.0 brings this to CRAN, now CRAN warns because of it. In the upload notes I promised mlpack would take care of it so I will look into a quick 'narrow' patch for a potential point release. @rcurtin and team can and will of course decide if a wider release is warranted instead.
Your environment
version of mlpack: 4.0.1
operating system: linux (all)
compiler: g++-12
version of dependencies (Boost/Armadillo): Armadillo 11.4.4
any other environment information you think is relevant:
Steps to reproduce
Install the R package under a current (Rcpp)Armadillo.
Expected behavior
Quiet behavior
Actual behavior
We see (and here I quote from the email I got)
Package: mlpack
Check: whether package can be installed
New result: WARNING
Found the following significant warnings:
./mlpack/core/data/save_impl.hpp:107:40: warning: ‘bool arma::Mat<eT>::quiet_save(std::ostream&, arma::file_type) const [with eT = long unsigned int; std::ostream = std::basic_ostream<char>]’ is deprecated [-Wdeprecated-declarations]
./mlpack/core/data/save_impl.hpp:128:43: warning: ‘bool arma::Mat<eT>::quiet_save(std::ostream&, arma::file_type) const [with eT = long unsigned int; std::ostream = std::basic_ostream<char>]’ is deprecated [-Wdeprecated-declarations]
See ‘/home/hornik/tmp/CRAN/mlpack.Rcheck/00install.out’ for details.
Used C++ compiler: ‘g++-12 (Debian 12.2.0-14) 12.2.0’
Doh. And syncing with the repo I saw that @conradsnicta actually beat my issue with the merge in #3405 by a good 40 minutes or so. I should have checked. Developers in different timezones for the win.
Issue description
In Armadillo 11.4.4, @conradsnicta deprecated two load/save methods. RcppArmadillo 0.11.4.4.0 brings this to CRAN, now CRAN warns because of it. In the upload notes I promised
mlpack
would take care of it so I will look into a quick 'narrow' patch for a potential point release. @rcurtin and team can and will of course decide if a wider release is warranted instead.Your environment
Steps to reproduce
Install the R package under a current (Rcpp)Armadillo.
Expected behavior
Quiet behavior
Actual behavior
We see (and here I quote from the email I got)