From d44230bfb10c208ce994fc730282c9bd0d68e9be Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 2 Dec 2024 14:59:37 +0100 Subject: [PATCH] fix missing ifnotfound --- DESCRIPTION | 2 +- R/select_nse.R | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index a6869430a..dffcdfc3a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", , "patilindrajeet.science@gmail.com", role = "aut", comment = c(ORCID = "0000-0003-1995-6531")), diff --git a/R/select_nse.R b/R/select_nse.R index 2d0255d0a..7b211beea 100644 --- a/R/select_nse.R +++ b/R/select_nse.R @@ -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))) @@ -301,7 +302,8 @@ data = data, ignore_case = ignore_case, regex = regex, - verbose = verbose + verbose = verbose, + ifnotfound = ifnotfound ), use.names = FALSE) } }