You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I call pander implicitly in my Rmarkdown documents by setting df_print: !expr pander::pander in my YAML header. This mostly works well, as I just set options to modify pander's behavior using panderOptions. However, not every option is available. In particular, keys.as.row.names is not available to set via panderOptions. Could that be added as a globally settable option?
The text was updated successfully, but these errors were encountered:
I'd be open to a PR on this, but my concern is that there are many other options in the S3 methods that are not available via panderOptions, so it would be quite a lot of work to support all, and/or decide which params to extract to panderOptions.
That approach could also use a refactor .. it was written almost 10 yrs ago 😅
Today I would probably do that in another way.
Anyway, to be more constructive, what about a wrapper helper function for your exact use case and call that in df_print?
I call pander implicitly in my Rmarkdown documents by setting
df_print: !expr pander::pander
in my YAML header. This mostly works well, as I just set options to modify pander's behavior usingpanderOptions
. However, not every option is available. In particular,keys.as.row.names
is not available to set viapanderOptions
. Could that be added as a globally settable option?The text was updated successfully, but these errors were encountered: