GEMINI-Medicine / Rgemini

A custom R package that provides a variety of functions to perform data analyses with GEMINI data
https://gemini-medicine.github.io/Rgemini/
Other
3 stars 0 forks source link

Bug in `check_input` when class returns multiple column types #74

Closed loffleraSMH closed 6 months ago

loffleraSMH commented 7 months ago

Please identify the affected function: check_input()

The check_input function currently fails for checks on data.frames/data.tables where class(column_name) returns more than 1 class (e.g., date-times that return class POSIXct and POSIXt). The problem is in check 6 of check_input (line 565) which says !(coltype, class....) but should say !any(coltype, class...).

image