change one more signature from SEXP to Rcpp::List