Forwarding arguments in a function with purrr::map_df
问题 I am trying to create a function that reads in all sheets in an excel workbook using readxl::read_excel and binds them into a single data frame, and allows me to pass through additional arguments to read_excel . I can do the first part fine, but not the second part. library(magrittr) # example excel workbook with multiple sheets path <- readxl::readxl_example("datasets.xlsx") # function with simple forwarding read_all <- function(path, ...) { path %>% readxl::excel_sheets() %>% rlang::set