select_helpers not working
Closed this issue · 1 comments
andresimi commented
Some select helpers don't seem to be working with set_na, and with set_labels from sjlabelled too.
library(tidyverse)
library(sjmisc)
#>
#> Attaching package: 'sjmisc'
#> The following object is masked from 'package:purrr':
#>
#> is_empty
#> The following object is masked from 'package:tidyr':
#>
#> replace_na
#> The following object is masked from 'package:tibble':
#>
#> add_case
data <- mtcars %>% as_tibble %>%
rename(d1=1,
d2=2,
d3=3)
data %>% set_na(num_range("d", 1:3), na=22)
#> Error in start:end: argumento de comprimento zero
Created on 2020-05-31 by the reprex package (v0.3.0)
strengejacke commented
should work now after update sjlabelled (set_na()
is in the sjlabelled-package).