stan-dev / posterior

The posterior R package
https://mc-stan.org/posterior/
Other
167 stars 24 forks source link

Still seeing formatting problems with summarise_draws #297

Closed jgabry closed 1 year ago

jgabry commented 1 year ago

@mjskay Unfortunately even after https://github.com/stan-dev/posterior/pull/295 I'm still running into formatting issues when printing the result of summarize_draws. I'm seeing the problem when generating the pkgdown website for cmdstanr.

Here's what I tried (from within the Rstudio project for cmdstanr):

But when I preview what it looks like it's still messed up. Any ideas? Here's a screenshot of what I'm seeing:

Screen Shot 2023-08-01 at 12 27 43 PM
mjskay commented 1 year ago

Hmmm I think this must be a pkgdown issue (or maybe something with the pkgdown config in cmdstanr?). I added a tibble with negative values (so they are printed red) to the same article and got similar output:

image

paul-buerkner commented 1 year ago

@jgabry should we open an issue on the pkgdown website then? I have checked if there is anything we can do from the posterior side, but unless we drop tibble as the printing engine, I don't think there is much we can change.

paul-buerkner commented 1 year ago

Closing this issue since there is not really something we can do from the posterior side.

jgabry commented 1 year ago

Yeah I’ll open an issue there if this is still a problem (I need to double check with the latest version of pkgdown)