nutterb / pixiedust

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

`pixieply` should invoke `mapply`, not `lapply`. #63

Closed nutterb closed 7 years ago

nutterb commented 8 years ago

Invoking mapply would allow differing values of each argument across the list. Especially helpful when applying captions, for example.

at the return, the class of the object will need to be made dust_list

nutterb commented 7 years ago

Having looked at it again, there needs to be an lapply version for doing the same thing to every table, and an mapply version for doing something different to each element. So pixiemap has been added.