hadley/dplyr — pull request #301 by will0955 (2014-03-05 04:34:21+00:00)
Title: is.finite(frame) rather than !is.null (#290 again)

I haven't tested but I believe something like this could work.