nutterb / pixiedust

Tables So Beautifully Fine-Tuned You Will Believe It's Magic.
180 stars 18 forks source link

Printing `NA` values #21

Closed renlund closed 9 years ago

renlund commented 9 years ago

Would it be possible to add some option to print.dust so that NA values can be printed as blanks?

Thanks for a very nice R package.

nutterb commented 9 years ago

I think that's a useful and workable addition. I think I'd prefer to put the argument in dust and sprinkle_table; that way it would take effect even under implicit prints.

Would you be satisfied with an additional argument na_string = "" to both of those functions?

renlund commented 9 years ago

Yes, that would be excellent.

nutterb commented 9 years ago

Great. This should appear on GitHub by the end of the month and hit CRAN in the mid-October release.

renlund commented 9 years ago

Thanks!

nutterb commented 9 years ago

This is implemented in the development branch. It will get pushed up to the master branch when I resolve an unrelated bug.