Created
January 6, 2018 08:35
-
-
Save ColinFay/0c6542d8e9bb4d224d19d1affad97255 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(purrr) | |
pos_log <- possibly(log, otherwise = NA) | |
l <- list(1,2,3, "a", 4, "b") | |
map(l, pos_log) %>% discard(is.na) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment