You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this report, this is most likely due to the changes in 134afd6. Paging @jonathon-love who made this changes.
Are you willing to remove the bug you introduced (I guess)?
See:
require(psych)
require(afex)
data(msq)
aov_ez(data=msq, dv="Extraversion", id = "ID", between = "condition",
covariate=c("TOD", "MSQ_Time"), factorize=FALSE, print.formula = TRUE)
# Formula send to aov_car: Extraversion ~ condition + `TOD+MSQ_Time` + Error(ID)
# Error in `[.data.frame`(data, , between, drop = FALSE) :
# undefined columns selected
Activity
singmann commentedon May 17, 2017
Thanks for this report, this is most likely due to the changes in 134afd6. Paging @jonathon-love who made this changes.
Are you willing to remove the bug you introduced (I guess)?
See:
jonathon-love commentedon May 17, 2017
sure, i'll take a look.
cheers
singmann commentedon May 17, 2017
@jonathon-love Actually hold on. I think I got it, seems really minor.
jonathon-love commentedon May 17, 2017
yup, i think it's as simple as moving line 415:
if (!is.null(covariate)) covariate <- str_c(covariate, collapse = "+")down after where the covariates are escaped?
covariate <- escape_vars(covariate)aov_ez() works with mutltiple covariates, solves issue #29
singmann commentedon May 17, 2017
Solved in ccada51.
My change was similar to what you suggested:
I will push a new bug-free version to CRAN latest next week. Thanks for reporting the bug.
singmann commentedon May 27, 2017
Fixed version (0.18-0) is on CRAN now: https://cran.r-project.org/web/packages/afex/