In the SHINYstan R package I'm working on (which contains an app for interactively exploring Stan models), I use a function I wrote called
stan_get which takes arguments stanfit and what(as well as optional arguments like pars for restricting the parameters used) and is used like this
rhats <- stan_get(stanfit, what = "rhat") # returns rhats
q_95 <- stan_get(stanfit, what = "quantile", probs = c(0.025, 0.975)) # returns 2.5% and 97.5% quantiles
etc.
This way you can use one function and just change the what argument instead of having 10 or 20 functions. Right now it can return Rhats, effective samples sizes, total sample size, means, SDs and any combination of quantiles.
I've also written the function so that the what argument allows the same thing to be specified in many different ways, since different people use different conventions. So, for example, all of the following will return the effective sample sizes:
stan_get(stanfit, what = "ess")
stan_get(stanfit, what = "ESS")
stan_get(stanfit, what = "n_eff")
stan_get(stanfit, what = "N_eff")
stan_get(stanfit, what = "neff")
stan_get(stanfit, what = "Neff")