-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Some functions fail on tibbles. For example, the comp_mean function.
In the case of comp_mean, this is because tibbles and data frames treat dat[, "colname"] differently, with a data frame returning a vector and a tibble returning a data frame. This leads later functions (in the case of comp_mean, the gm function, because of trying to run mean on a tibble) to return NA values, screwing up computations and leading to a cryptic error message that gives little hint as to the actual problem.
A (much needed!) major rewrite of the package might improve lots of this code to be smart about what it is and is not receiving and returning (e.g. lots more checking of class of objects).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels