Skip to content

Unclear error message if matrix is used #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FlorianSeitz opened this issue May 18, 2020 · 0 comments
Open

Unclear error message if matrix is used #61

FlorianSeitz opened this issue May 18, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@FlorianSeitz
Copy link
Collaborator

https://github.com/JanaJarecki/cognitivemodels/blob/dd3ab9757f1c25a5373f8acd29fe5a841165d6a6/tests/testthat/test_ebmj.R#L205

I get the following error:
Error in private$get_input(f = self$formulaCriterion, d = d, na.action = NULL) :
Can't find variables from 'formula' in 'data': [c].

This error seems a bit counterintuitive as we only use a matrix rather than a data frame.

@FlorianSeitz FlorianSeitz added the enhancement New feature or request label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants