Rcpp::List write_list(std::__1::vector<double, std::__1::allocator<double>>, bool, bool, unsigned int, unsigned int)

takes a vector of unconstrained parameters, flags for include_tparams and include_gqs, as well as integers for id and seed and returns a list of constrained parameters with the appropriate dimensions