Skip to content

Instantly share code, notes, and snippets.

@klmr
Last active September 28, 2015 10:39
Show Gist options
  • Save klmr/fc5d6ea4710a2d8ea16e to your computer and use it in GitHub Desktop.
Save klmr/fc5d6ea4710a2d8ea16e to your computer and use it in GitHub Desktop.
require(dplyr) # fails
x = data.frame(y = 1 : 100)
y = 1
filter(x, y == 1)
# No error, but different result depending on whether `require` succeeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment