joon-e / tidycomm

tidycomm: Data Modification and Analysis for Communication Research
https://joon-e.github.io/tidycomm/
GNU General Public License v3.0
15 stars 5 forks source link

Requirement of tibbles for new_tdcmm class #44

Open LKobilke opened 1 year ago

LKobilke commented 1 year ago

Some of our new functions require the tibble format for them to work properly. We should catch that errror with an if statement and transform the input data to a tibble before running the function. Here's an example:

image

MarHai commented 1 year ago

That would actually be a nice fix together with #49 when streamlining code (i.e., moving such requirement tests into a separate function/file).