Skip to content

fish_for_correlations looks broken #41

Description

@peterhurford
> library(bettertrace)
Package ‘bettertrace’ overwriting ‘options("error")’

> surveytools2::fish_for_correlations(iris)
Error in variable$expr : $ operator is invalid for atomic vectors
In package surveytools2: surveytools2::fish_for_correlations(iris)
In package checkr: comparison_table_(df, x_, y_)
In package base: do.call(checker_fn, args)
In package surveytools2: (function (data, variable, groupby, type = NULL, na.rm = FALSE,      top = 0, .print_filters = NULL)  {     if (variable [...]
In package surveytools2: table_for(data, variable, groupby, type = type, na.rm = na.rm,      top = top, .print_filters = .print_filters)
In package surveytools2: table_for_continuous(data, variable, groupby, na.rm = na.rm,      .print_filters = .print_filters)
In package magrittr: dplyr::select_(data, get_base_varname(variable), get_base_varname(groupby)) %>%      dplyr::mutate_(ctab__internal_varia [...]
In package base: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
In package base: eval(quote(`_fseq`(`_lhs`)), env, env)
In package surveytools2: eval(quote(`_fseq`(`_lhs`)), env, env)
In package surveytools2: `_fseq`(`_lhs`)
In package magrittr: freduce(value, `_function_list`)
In package surveytools2: function_list[[i]](value)
In package dplyr: dplyr::mutate_(., ctab__internal_variable = variable$expr)
In package dplyr: mutate_.data.frame(., ctab__internal_variable = variable$expr)
In package dplyr: compat_lazy_dots(.dots, caller_env(), ...)

Error: $ operator is invalid for atomic vectors

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions