PupillometryR icon indicating copy to clipboard operation
PupillometryR copied to clipboard

Issue from regressed_data

Open celineRR opened this issue 2 years ago • 1 comments

Hi ! I am having an issue with the regressed_data function. The message error says :

Error in group_data(): ! .data must be a valid <grouped_df> object. Caused by error in validate_grouped_df(): ! The groups attribute must be a data frame. Run rlang::last_trace() to see where the error occurred.

I have the last versions of PupillometryR and dplyr and I followed all the previous steps. Even if I skip "regressed_data" I have the same problem with the grouping for the rest of the functions.

How can I solve this ?

Thank you for your help, Céline

celineRR avatar Oct 25 '23 12:10 celineRR

Hi Celine, Sorry I somehow missed this. Can you provide a subset of your data or something as a worked example? I suspect one of the categories listed (a time column, a condition column etc) does not exist in your data, and this is causing this issue.

samhforbes avatar Dec 06 '23 22:12 samhforbes