Skip to content

Commit

Permalink
Update bind_databases.R (#129)
Browse files Browse the repository at this point in the history
Revert to original format of `bind_databases` arguments - required for traits.build to work using furrr method
  • Loading branch information
ehwenk authored Nov 16, 2024
1 parent 7192f3d commit a0d902c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/bind_databases.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
#' @return Compiled database as a single large list
#' @importFrom rlang .data
#' @export
bind_databases <- function(database_1, ...) {

# List of databases to combine
databases = list(database_1, ...)
bind_databases <- function(..., databases = list(...)) {

combine <- function(name, databases) {
dplyr::bind_rows(lapply(databases, "[[", name)) %>% dplyr::distinct()
Expand Down

0 comments on commit a0d902c

Please sign in to comment.