Best practice to deal with `missing` in packages

A major part of the 0.7 transition is that now any (most) packages can have users passing in Arrays with missing in it, and we need to be able to deal with that somehow.
Some functions in packages are calls to dependencies.
My question is - what is the current best practice? To handle missings when they appear, and should appear (e.g. calls to Statistics.mean) with things like skipmissing, but pass them on to dependencies otherwise and expect them to handle them?
And is there a guide for updating package code to handle missings?

1 Like

If the dependencies are written in Julia, I would suggest this.

When applicable, the last interface between Julia and something else should handle the appropriate conversion. Eg in PGFPlotsX, we can do this in a single line.