Skip to content

Commit

Permalink
Merge pull request #85 from adamlilith/solstice2022_2023
Browse files Browse the repository at this point in the history
Remove `ellipseNames()`
  • Loading branch information
adamlilith authored Sep 28, 2024
2 parents 8dda56d + 6f6f006 commit b707915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/cull.r
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
cull <- function(...) {

# input/output
x <- list(...)
dots <- x <- list(...)

# if data frames or matrices
if (class(x[[1]]) %in% c('data.frame', 'matrix')) {
Expand All @@ -35,7 +35,7 @@ cull <- function(...) {
}

# name elements of output same as names of x
inNames <- ellipseNames(...)
inNames <- names(dots)
if (length(inNames) == length(x)) names(x) <- inNames

x
Expand Down

0 comments on commit b707915

Please sign in to comment.