This file contains hidden or 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
| # The line below corresponds to all packages, I use at least twice in my documents | |
| # This list has been created using pkguse (remotes::install_github("mkearney/pkguse")) | |
| package <- c("base64enc", "blogdown", "corrr", | |
| "countrycode", "cowplot", "devtools", | |
| "dplyr", "dummies", "fs", "furrr", | |
| "future", "ggcorrplot", "ggplot2", "glue", | |
| "janitor", "kableExtra", "keras", "keyring", | |
| "knitr", "lubridate", "magrittr", "numbers", | |
| "pacman", "purrr", "R.utils", "R6", "readr", | |
| "readxl", "reticulate", "rio", "rlang", "rmarkdown", |
This file contains hidden or 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(dplyr) | |
| do_if <- function(.data, condition, call){ | |
| if(condition){ | |
| .x <- .data | |
| call_str <- call %>% | |
| as.character %>% | |
| .[2] |
NewerOlder