Skip to content

Commit 22a6aca

Browse files
committed
Merge branch 'master' of github.com:luckinet/tabshiftr
2 parents 5a07e35 + e1813d9 commit 22a6aca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/getData.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ getData <- function(schema = NULL, input = NULL){
5656
mutate(ind = if_else(ind %in% targetRows, min(targetRows), ind)) %>%
5757
group_by(ind) %>%
5858
summarise(across(everything(), eval_tidy(temp$by$char))) %>%
59-
mutate(across(where(is.character), function(x) na_if(x, "")))
59+
mutate(across(where(is.character), ~na_if(x = ., y = "")))
6060

6161
outNum <- suppressWarnings(outNum %>%
6262
mutate(ind = if_else(ind %in% targetRows, min(targetRows), ind)) %>%
@@ -102,3 +102,5 @@ getData <- function(schema = NULL, input = NULL){
102102

103103
return(out)
104104
}
105+
106+
utils::globalVariables("where")

0 commit comments

Comments
 (0)