amices / ggmice

Visualize incomplete and imputed data with the R package `ggmice`
http://amices.org/ggmice
GNU General Public License v3.0
31 stars 9 forks source link

Improve `verify_data` function #138

Open pepijnvink opened 10 months ago

pepijnvink commented 10 months ago

Automatically parse allowed data types rather than manual specification. Additional checks if data are of type matrix are left in. Should resolve #85

hanneoberman commented 10 months ago

I believe that a better solution would be https://rlang.r-lib.org/reference/arg_match.html

hanneoberman commented 10 months ago

Maybe using tryCatch could work:

https://adv-r.hadley.nz/conditions.html#handling-conditions

pepijnvink commented 8 months ago

Should also resolve #130

hanneoberman commented 3 weeks ago

Status check: might not be necessary anymore. Converting to draft.