Browse Source

Bugfix: stop warning when using any() on a double

tags/0.1.0
Maxime Wack 7 years ago
parent
commit
850681e6d7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      R/arg_functions.R

+ 2
- 1
R/arg_functions.R View File

@@ -28,7 +28,8 @@ stats_auto <- function(data)
{
data %>%
purrr::keep(is.numeric) %>%
purrr::map_dbl(is.param) -> shapiro
purrr::map(is.param) %>%
purrr::flatten_lgl() -> shapiro

any(shapiro) -> param
any(!shapiro) -> nonparam


Loading…
Cancel
Save