Error in re-building vignettes:
  ...
Loading required package: RcppArmadillo
rmultinom.cpp: In function ‘Rcpp::IntegerVector rmultinomC(int, int, Rcpp::NumericVector)’:
rmultinom.cpp:13:44: error: invalid initialization of non-const reference of type ‘arma::vec& {aka arma::Col<double>&}’ from an rvalue of type ‘arma::vec {aka arma::Col<double>}’
     RcppArmadillo::FixProb(fixprob, 1, true);
                                            ^
In file included from /data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/armadillo_bits/Col_meat.hpp:1723:0,
                 from /data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/armadillo:564,
                 from /data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadilloForward.h:46,
                 from /data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadillo.h:31,
                 from /data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadilloExtensions/rmultinom.h:28,
                 from rmultinom.cpp:2:
/data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadillo/Col_meat.h:28:8: note:   after user-defined conversion: arma::Col<eT>::Col(const Rcpp::VectorBase<RTYPE, NA, VECTOR>&) [with int RTYPE = 14; bool NA = true; VECTOR = Rcpp::Vector<14, Rcpp::PreserveStorage>; eT = double]
 inline Col<eT>::Col( const Rcpp::VectorBase<RTYPE,NA,VECTOR>& X )
        ^~~~~~~
In file included from rmultinom.cpp:3:0:
/data/gannet/ripley/R/packages/tests-devel/RcppArmadillo.Rcheck/RcppArmadillo/include/RcppArmadilloExtensions/fixprob.h:29:14: note:   initializing argument 1 of ‘void Rcpp::RcppArmadillo::FixProb(arma::vec&, int, bool)’
         void FixProb(arma::vec &prob, const int size, const bool replace) {
              ^~~~~~~
make[1]: *** [rmultinom.o] Error 1
Error in sourceCpp(file.path(get("pathRcppArmadilloTests"), "cpp", file)) : 
  Error 1 occurred building shared library.

Error: processing vignette 'RcppArmadillo-unitTests.Rnw' failed with diagnostics:
 chunk 2 (label = unitTesting) 
Error in eval(expr, .GlobalEnv) : unit test problems: 1 errors
Execution halted