co-analysis / a11ytables

R package: generate best-practice stats spreadsheets for publication
https://co-analysis.github.io/a11ytables/
Other
42 stars 3 forks source link

Improve the `summary()` method #79

Closed matt-dray closed 8 months ago

matt-dray commented 2 years ago

I'm not really expecting people to use the summary() method and haven't put that much thought into it.

An a11ytable-class object prints nicely as a tibble anyway, so that's probably the best and primary way for people to get a quick overview of the object.

Although things like sheet titles might get cut off when printed to console in a tibble format, so maybe the summary method could provide full text?

matt-dray commented 9 months ago

I think it's fine actually. People can request changes if they want to.

matt-dray commented 8 months ago

Actually, it's failling to print the dimensions of the cover table if it's provided as a list, so it will need to be fixed. Might as well simplify it in the process.