Skip to content

Commit

Permalink
fix missing ifnotfound
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 2, 2024
1 parent 0512212 commit d44230b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: datawizard
Title: Easy Data Wrangling and Statistical Transformations
Version: 0.13.0.16
Version: 0.13.0.17
Authors@R: c(
person("Indrajeet", "Patil", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0003-1995-6531")),
Expand Down
6 changes: 4 additions & 2 deletions R/select_nse.R
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@
data = data,
ignore_case = ignore_case,
regex = regex,
verbose = verbose
verbose = verbose,
ifnotfound = ifnotfound
)
} else if (length(new_expr) == 1L && is.function(new_expr)) {
out <- which(vapply(data, new_expr, FUN.VALUE = logical(1L)))
Expand All @@ -301,7 +302,8 @@
data = data,
ignore_case = ignore_case,
regex = regex,
verbose = verbose
verbose = verbose,
ifnotfound = ifnotfound
), use.names = FALSE)
}
}
Expand Down

0 comments on commit d44230b

Please sign in to comment.